• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: Continuous integration
2
3on:
4  pull_request:
5  push:
6    branches:
7      - master
8
9jobs:
10  os_tests:
11    name: "Tests / OS: ${{ matrix.os }} - ${{ matrix.channel }}"
12    runs-on: ${{ matrix.os }}
13    strategy:
14      matrix:
15        channel:
16        - stable
17        - beta
18        - nightly
19        - 1.23.0
20        os:
21        # FIXME: compiling with 1.23 on macOS 12 fails to linL
22        # archive member 'rust.metadata.bin' with length 40821 is not mach-o or llvm bitcode file
23        - macos-11
24        - windows-2022
25        - ubuntu-22.04
26
27    steps:
28    - name: Checkout repository
29      uses: actions/checkout@v3
30
31    - name: Update rust
32      run: rustup update ${{ matrix.channel }} --no-self-update
33
34    - name: Tests
35      run: cargo +${{ matrix.channel }} test --all
36