Skip to content

Commit

Permalink
ci: Run tests against homebrew Z3 on macOS.
Browse files Browse the repository at this point in the history
This is in addition to running them against it on Linux.
  • Loading branch information
waywardmonkeys committed Oct 26, 2023
1 parent c4e21a4 commit a8a4a4f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,18 @@ jobs:
run: cargo fmt -- --check

build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Z3
- name: Install Z3 (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libz3-dev
- name: Install Z3 (macOS)
if: matrix.os == 'macos-latest'
run: brew install z3
- name: Run tests
run: cargo test --workspace
# XXX: Ubuntu's Z3 package seems to be missing some symbols, like
Expand Down

0 comments on commit a8a4a4f

Please sign in to comment.