From 2b96959fdf5636f13b471070bc932b261b396ca9 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Wed, 17 Mar 2021 20:13:32 -0400 Subject: [PATCH] add other tests --- .github/workflows/ci.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f102ce19..16d59274d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -174,9 +174,9 @@ jobs: steps: - uses: actions/checkout@v2 - uses: sfackler/actions/rustup@master - - run: rustup target add ${{ matrix.target }} - run: echo "::set-output name=version::$(rustc --version)" id: rust-version + - run: rustup target add ${{ matrix.target }} - run: | case "${{ matrix.target }}" in "x86_64-unknown-linux-gnu") @@ -242,6 +242,8 @@ jobs: make make install_sw if: matrix.library.version != 'vendored' && !steps.openssl-cache.outputs.cache-hit + - run: echo "RUST_TEST_THREADS=1" >> $GITHUB_ENV + if: matrix.target == 'arm-unknown-linux-gnueabihf' - uses: actions/cache@v1 with: path: ~/.cargo/registry/index @@ -262,4 +264,14 @@ jobs: if [[ "${{ matrix.library.version }}" == "vendored" ]]; then features="--features vendored" fi - cargo test --manifest-path=systest/Cargo.toml --target ${{ matrix.target }} $features + cargo run --manifest-path=systest/Cargo.toml --target ${{ matrix.target }} $features + - run: | + if [[ "${{ matrix.library.version }}" == "vendored" ]]; then + features="--features vendored" + fi + cargo test --manifest-path=openssl/Cargo.toml --target ${{ matrix.target }} $features + - run: | + if [[ "${{ matrix.library.version }}" == "vendored" ]]; then + features="--features openssl-sys/vendored" + fi + cargo test --manifest-path=openssl-errors/Cargo.toml --target ${{ matrix.target }} $features -- GitLab