Skip to content

Commit f41c001

Browse files
authored
Auto merge of #53 - sagudev:cii, r=mrobinson
Move all CI to GitHub Actions Build on Linux and Mac are back to stable, Windows is currently not working on stable, but it is still working on Rust 1.45, so I leave it there.
2 parents b261771 + 1756b45 commit f41c001

File tree

3 files changed

+16
-37
lines changed

3 files changed

+16
-37
lines changed

.github/workflows/rust.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,30 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ master ]
65
pull_request:
7-
branches: [ master ]
86

97
env:
108
CARGO_TERM_COLOR: always
119

1210
jobs:
1311
build:
14-
runs-on: windows-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
16+
runs-on: ${{ matrix.os }}
1517
steps:
16-
- uses: actions/checkout@v2
17-
- name: Install latest nightly
18-
uses: actions-rs/toolchain@v1
19-
with:
20-
toolchain: 1.45.0
21-
default: true
18+
- uses: actions/checkout@v3
19+
- uses: dtolnay/rust-toolchain@1.45.0
20+
if: contains(matrix.os, 'windows')
2221
- name: Run tests
22+
if: contains(matrix.os, 'windows')
2323
run: cargo test --verbose --features "egl build_dlls"
24+
- uses: dtolnay/rust-toolchain@stable
25+
if: ${{ !contains(matrix.os, 'windows') }}
26+
- name: Run test (POSIX)
27+
if: ${{ !contains(matrix.os, 'windows') }}
28+
run: |
29+
cargo test --verbose
30+
cargo test --verbose --features egl
2431

.travis.yml

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

appveyor.yml

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

0 commit comments

Comments
 (0)