diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8e5ba1..96bd99e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,7 +94,7 @@ jobs: run: cargo install cargo-auditable - name: Build project - run: cargo auditable build --profile dist --locked + run: PCRE2_SYS_STATIC=1 cargo auditable build --profile dist --locked - name: Upload release assets uses: actions/upload-release-asset@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 64d6ca3..45b7d27 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -81,7 +81,7 @@ jobs: uses: Swatinem/rust-cache@v2 - name: Build and run tests - run: cargo test + run: PCRE2_SYS_STATIC=1 cargo test coverage: runs-on: ubuntu-latest @@ -124,7 +124,7 @@ jobs: CARGO_INCREMENTAL: 0 run: | rustup component add llvm-tools-preview - cargo test + PCRE2_SYS_STATIC=1 cargo test grcov . -s . -t lcov --llvm --ignore-not-existing --ignore "/*" --ignore "pomsky-bin/src/test.rs" --ignore "target/*" -o lcov.info -b ./target/debug/pomsky - name: Coveralls upload