Skip to content

Commit 91248c1

Browse files
authored
Merge pull request #113 from rust-lang-nursery/ci/gh-actions
Replace Azure Pipelines with GitHub Actions
2 parents 337d417 + 5c78ee4 commit 91248c1

File tree

2 files changed

+33
-41
lines changed

2 files changed

+33
-41
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

azure-pipelines.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)