File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616jobs :
1717 test-build :
1818 strategy :
19+ fail-fast : false
1920 matrix :
2021 include :
2122 - { os: "macos-latest", target: "aarch64-apple-darwin" }
@@ -30,14 +31,16 @@ jobs:
3031 runs-on : ${{ matrix.os }}
3132
3233 steps :
34+ - uses : actions/checkout@v4
35+
3336 - name : Setup sccache
3437 if : github.event_name != 'release' && github.event_name != 'workflow_dispatch'
3538 uses : mozilla-actions/sccache-action@v0.0.8
3639 - name : Configure sccache
3740 if : github.event_name != 'release' && github.event_name != 'workflow_dispatch'
3841 run : |
39- echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
40- echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
42+ echo "SCCACHE_GHA_ENABLED=true" >> " $GITHUB_ENV"
43+ echo "RUSTC_WRAPPER=sccache" >> " $GITHUB_ENV"
4144
4245 - name : Setup rust cache action
4346 uses : swatinem/rust-cache@v2
5154 packages : libfontconfig1-dev libgoogle-perftools-dev google-perftools
5255 version : latest # could be anything
5356
54- - uses : actions/checkout@v4
5557 - name : Install clippy and fmt
5658 run : rustup component add clippy rustfmt
5759 - name : Clippy
6567
6668 - name : Set build mode
6769 shell : bash
68- run : if [ "${{github.ref_type}}" == "tag" || ${{ github.event_name == 'push' && github.ref_name == 'main' }} ]; then echo "BMODE=release">>"$GITHUB_ENV"; fi
70+ run : if [ "${{github.ref_type}}" == "tag" ] || [ ${{ github.event_name == 'push' && github.ref_name == 'main' }} ]; then echo "BMODE=release">>"$GITHUB_ENV"; fi
6971
7072 - name : Build in ${{env.BMODE || 'debug'}} mode
7173 run : cargo build --verbose --locked --${{env.BMODE}}
You can’t perform that action at this time.
0 commit comments