forked from rust-lang/glob
-
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 786 Bytes
/
rust.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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