Skip to content

Commit fb1f0b3

Browse files
authored
Replace Azure Pipelines with GitHub Actions
1 parent 337d417 commit fb1f0b3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/rust.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Continuous integration
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
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+
- macos-10.15
22+
- windows-2019
23+
- ubuntu-20.04
24+
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v3
28+
29+
- name: Update rust
30+
run: rustup update ${{ matrix.channel }} --no-self-update
31+
32+
- name: Tests
33+
run: cargo +${{ matrix.channel }} test --all

0 commit comments

Comments
 (0)