Binaries update (#8) #89
This file contains 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 and Test | |
on: [push] | |
jobs: | |
# The `test` job. | |
test: | |
name: Test | |
strategy: | |
matrix: | |
# The job runs on 3 different OS. | |
os: [ubuntu-latest, macos-13, windows-latest] | |
# The job runs on different Java versions (LTS). | |
java: [21] | |
# As soon as one job fails in the matrix, all the other | |
# in-progress jobs are canceled. | |
fail-fast: true | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Java ${{ matrix.version }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
default: true | |
override: true | |
- name: Run all the tests | |
shell: bash | |
run: | | |
export PATH="$HOME/.cargo/bin:$PATH" | |
make test |