Merge pull request #140 from rust-lang/dependabot/github_actions/acti… #55
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: Continuous integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
os_tests: | |
name: "Tests / OS: ${{ matrix.os }} - ${{ matrix.channel }}" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
channel: | |
- stable | |
- beta | |
- nightly | |
- 1.23.0 | |
os: | |
# FIXME: compiling with 1.23 on macOS 12 fails to linL | |
# archive member 'rust.metadata.bin' with length 40821 is not mach-o or llvm bitcode file | |
- macos-11 | |
- windows-2022 | |
- ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Update rust | |
run: rustup update ${{ matrix.channel }} --no-self-update | |
- name: Tests | |
run: cargo +${{ matrix.channel }} test --all |