@@ -3,48 +3,55 @@ name: x86_64-unknown-linux-gnu compiler
33on : push
44
55env :
6- TOOLCHAIN : nightly-2022-07-12
6+ TOOLCHAIN : nightly-2022-08-08
7+ LLVM_RELEASE : firefly-15.0.0-dev_2022-08-27
8+ LLVM_LINK_LLVM_DYLIB : ON
9+ FIREFLY_BUILD_TYPE : static
710
811jobs :
912 compiler :
10- if : ${{ false }} # disable
1113 runs-on : ubuntu-latest
12- container : kronicdeth/lumen-development@sha256:2809805464d685940b58765a634fa23a5fd1a62c65710cfa43a8791cd50fbecd
1314
1415 steps :
1516 - uses : actions/checkout@v2
17+ - name : Setup Env
18+ run : |
19+ if [ -n "${XDG_DATA_HOME}" ]; then
20+ echo "XDG_DATA_HOME=$HOME/.local/share" >> $GITHUB_ENV
21+ fi
22+ echo "$PWD/bin" >> $GITHUB_PATH
23+ - name : Install Ninja
24+ run : |
25+ wget "https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip"
26+ unzip ninja-linux.zip -d /usr/local/bin
27+ rm ninja-linux.zip
28+ - name : Install LLVM
29+ run : |
30+ mkdir -p "$XDG_DATA_HOME/llvm/firefly"
31+ cd "$XDG_DATA_HOME/llvm/firefly"
32+ wget "https://github.com/getfirefly/llvm-project/releases/download/${LLVM_RELEASE}/clang+llvm-15.0.0-x86_64-linux-gnu.tar.gz"
33+ tar -xz --strip-components 1 -f clang+llvm-15.0.0-x86_64-linux-gnu.tar.gz
34+ rm clang+llvm-15.0.0-x86_64-linux-gnu.tar.gz
35+ cd -
1636 - name : Cache Cargo
1737 uses : actions/cache@v2
1838 with :
1939 path : |
2040 ~/.cargo/registry
2141 ~/.cargo/git
2242 key : ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.TOOLCHAIN }}-cargo-${{ hashFiles('**/Cargo.lock') }}
43+ - name : Install cargo-make
44+ uses : actions-rs/cargo@v1
45+ with :
46+ command : install
47+ args : cargo-make
2348 - name : Build Compiler
2449 uses : actions-rs/cargo@v1
2550 with :
2651 command : make
2752 args : firefly
28- - name : Add Compiler To Path
29- run : |
30- if [ -n "${GITHUB_PATH}" ]; then
31- echo "$PWD/bin" >> $GITHUB_PATH
32- else
33- echo "::add-path::${PWD}/bin"
34- fi
35- - name : Run baseline tests
53+ - name : Run lit tests
3654 uses : actions-rs/cargo@v1
3755 with :
3856 command : make
3957 args : test-lit
40- - name : Run firefly_otp integration tests
41- uses : actions-rs/cargo@v1
42- with :
43- command : make
44- args : |
45- test -- --package firefly_otp lib:: -- --skip firefly::otp
46- - name : Run spawn-chain tests
47- uses : actions-rs/cargo@v1
48- with :
49- command : make
50- args : test-spawn-chain
0 commit comments