Build and test #2161
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: | |
pull_request: | |
schedule: | |
- cron: '0 5 * * *' | |
jobs: | |
linux: | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [ 1.74.0, beta, nightly ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: build and test | |
env: | |
RUST_VERSION: ${{matrix.rust}} | |
run: ./.travis.sh | |
macos: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macOS-13, macOS-14 ] | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: build and test | |
run: ./.travis.sh | |
# windows: | |
# runs-on: windows-2019 | |
# | |
# steps: | |
# - uses: actions/checkout@v1 | |
# - name: cargo test | |
# run: cargo test --all | |
apple-3rd-tier: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macOS-13, macOS-14 ] | |
sim: [ tvOS, watchOS ] | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: build and test | |
run: ./.travis.apple-third-tier.sh ${{matrix.sim}} | |
linux-musl: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: build and test | |
run: ./musl_build.sh |