CLI tweak #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Wavelet | |
| on: [push] | |
| env: | |
| Z3_VERSION: 4.15.4 | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - uses: leanprover/lean-action@v1 | |
| with: | |
| lake-package-directory: wavelet-core/lean | |
| auto-config: false | |
| - run: | | |
| wget https://github.com/Z3Prover/z3/releases/download/z3-${Z3_VERSION}/z3-${Z3_VERSION}-x64-glibc-2.39.zip | |
| unzip z3-${Z3_VERSION}-*.zip | |
| sudo cp z3-${Z3_VERSION}-*/bin/z3 /usr/local/bin/ | |
| z3 --version | |
| - run: cargo build | |
| - run: cargo fmt -- --check | |
| - run: cargo test --all | |
| check-proofs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: leanprover/lean-action@v1 | |
| with: | |
| lake-package-directory: wavelet-core/lean | |
| build-args: Thm |