Skip to content

Commit

Permalink
chore: try linking PCRE2 statically
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloso committed Nov 29, 2024
1 parent b4091c2 commit 7c33e46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7c33e46

Please sign in to comment.