Skip to content
Myr

fix[build]: Fix syntax of github action

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Thayne McCombs · committed by Thayne McCombs · parent 2f5ab52 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:.github/workflows/CICD.yml+3 added-3 removed
82 unmodified lines
83 - name: Run tests84 run: cargo test --locked "${MSRV_FEATURES}"8586 build:87 name: ${{ matrix.job.target }} (${{ matrix.job.os }})87 name: '${{ matrix.job.target }} (${{ matrix.job.os }})'88 runs-on: ${{ matrix.job.os }}89 needs: crate_metadata90 permissions:91 id-token: write
16 unmodified lines
108 - { target: aarch64-pc-windows-msvc , os: windows-11-arm }109 - { target: x86_64-unknown-linux-gnu , os: ubuntu-24.04, use-cross: true }110 - { target: x86_64-unknown-linux-musl , os: ubuntu-24.04, use-cross: true }111 env:112 BUILD_CMD: ${{ matrix.job.use-cross && cross || cargo }}112 BUILD_CMD: "${{ matrix.job.use-cross && 'cross' || 'cargo' }}"113 target: ${{ matrix.job.target }}114 name: ${{ needs.crate_metadata.outputs.name }}115 steps:116 - name: Checkout source code
60 unmodified lines
177 # test only library unit tests and binary for arm-type targets178 unset CARGO_TEST_OPTIONS179 case ${target} in180 arm-* | aarch64-*)181 CARGO_TEST_OPTIONS="--bin ${name}" ;;181 CARGO_TEST_OPTIONS="--bin=${name}" ;;182 esac183 echo "CARGO_TEST_OPTIONS=${CARGO_TEST_OPTIONS}" >> $GITHUB_OUTPUT184185 - name: Run tests
119 unmodified lines