3838 os-target :
3939 - os : macos-latest
4040 target : " aarch64-apple-darwin"
41- - os : macos-latest
42- target : " aarch64-apple-ios"
4341 - os : ubuntu-latest
4442 target : " x86_64-unknown-linux-gnu"
4543 - os : ubuntu-latest
@@ -63,13 +61,13 @@ jobs:
6361 run : sudo apt-get update && sudo apt-get install -y musl-tools
6462 - uses : dtolnay/rust-toolchain@master
6563 with :
66- toolchain : ${{matrix.toolchain}}
67- components : rust-src
68- - name : Install target
69- run : rustup target add ${{matrix.os-target.target}}
64+ toolchain : ${{ matrix.toolchain }}
65+ components : llvm-tools, clippy, rust-src
7066 - uses : taiki-e/install-action@v2
7167 with :
72- tool : just,cargo-nextest
68+ tool : just,cargo-llvm-cov,cargo-nextest
69+ - name : Install target
70+ run : rustup target add ${{ matrix.os-target.target }}
7371 - name : Enable type layout randomization
7472 if : matrix.toolchain == 'nightly'
7573 run : |
7977 echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
8078 fi
8179 shell : bash
82- - run : |
83- cargo build --verbose --target ${{matrix.os-target.target}} --package hpke-crypto --features backend-graviola
84- cargo build --verbose --release --target ${{matrix.os-target.target}} --package hpke-crypto --features backend-graviola
85- if: matrix.os-target.target != 'aarch64-apple-ios'
86- - run : |
87- cargo build --verbose --target ${{matrix.os-target.target}} --package hpke-crypto --features backend-aws-lc
88- cargo build --verbose --release --target ${{matrix.os-target.target}} --package hpke-crypto --features backend-aws-lc
89- - run : just ci-test --target ${{matrix.os-target.target}}
90- if : matrix.os-target.target != 'aarch64-apple-ios'
80+ - run : just ci-test --target ${{ matrix.os-target.target }}
9181
9282 docs :
9383 name : Documentation
0 commit comments