Skip to content
Snippets Groups Projects
Commit 2b96959f authored by Steven Fackler's avatar Steven Fackler
Browse files

add other tests

parent 5b892d7e
Branches
Tags
No related merge requests found
...@@ -174,9 +174,9 @@ jobs: ...@@ -174,9 +174,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: sfackler/actions/rustup@master - uses: sfackler/actions/rustup@master
- run: rustup target add ${{ matrix.target }}
- run: echo "::set-output name=version::$(rustc --version)" - run: echo "::set-output name=version::$(rustc --version)"
id: rust-version id: rust-version
- run: rustup target add ${{ matrix.target }}
- run: | - run: |
case "${{ matrix.target }}" in case "${{ matrix.target }}" in
"x86_64-unknown-linux-gnu") "x86_64-unknown-linux-gnu")
...@@ -242,6 +242,8 @@ jobs: ...@@ -242,6 +242,8 @@ jobs:
make make
make install_sw make install_sw
if: matrix.library.version != 'vendored' && !steps.openssl-cache.outputs.cache-hit 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 - uses: actions/cache@v1
with: with:
path: ~/.cargo/registry/index path: ~/.cargo/registry/index
...@@ -262,4 +264,14 @@ jobs: ...@@ -262,4 +264,14 @@ jobs:
if [[ "${{ matrix.library.version }}" == "vendored" ]]; then if [[ "${{ matrix.library.version }}" == "vendored" ]]; then
features="--features vendored" features="--features vendored"
fi 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment