File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 8686 - name : Install LLVM and dependencies (Ubuntu)
8787 if : ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' }}
8888 run : |
89+ sudo apt remove libz
90+ sudo apt remove zstd
91+ sudo apt remove llvm
8992 sudo apt-get update
9093 sudo apt-get install -y libcurl4-openssl-dev
9194 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
@@ -108,7 +111,6 @@ jobs:
108111 run : |
109112 cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_PREFIX_PATH="/usr/lib/x86_64-linux-gnu" -DADEPT_LINK_LLVM_STATIC=On -B ${{github.workspace}}/build -G Ninja
110113 env :
111- CC : /home/linuxbrew/.linuxbrew/opt/llvm/bin/clang
112114 LLVM_DIR : /home/linuxbrew/.linuxbrew/opt/llvm
113115 zstd_DIR : /home/linuxbrew/.linuxbrew/opt/zstd
114116 CFLAGS : -static-libstdc++
@@ -122,7 +124,12 @@ jobs:
122124 if : ${{ matrix.os != 'windows-latest' }}
123125 run : |
124126 cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
125- - name : Archive Build Result
127+ - name : - name: Test Build Artifact (Ubuntu)
128+ if : ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' }}
129+ run : |
130+ echo -e "foreign printf(format *ubyte, ...) int\nfunc main {\nprintf('Hello, world!\\n')\n}" > h.adept
131+ ${{github.workspace}}/build/adept h.adept
132+ ./hArchive Build Result
126133127134 with :
128135 command : c
You can’t perform that action at this time.
0 commit comments