36 lines
786 B
YAML
36 lines
786 B
YAML
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@v3
|
|
|
|
- name: Update rust
|
|
run: rustup update ${{ matrix.channel }} --no-self-update
|
|
|
|
- name: Tests
|
|
run: cargo +${{ matrix.channel }} test --all
|