Skip to content

Commit

Permalink
Add GitHub Actions CI (#18)
Browse files Browse the repository at this point in the history
* Add GitHub Actions CI

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Delete appveyor.yml

* Delete .travis.yml
  • Loading branch information
XAMPPRocky authored Jun 22, 2020
1 parent 0c218da commit 55361d4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 90 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Rust

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
arch: [i686, x86_64, aarch64]
variant: [gnu, msvc]
channel: [stable, beta, nightly]
exclude:
- arch: aarch64
variant: gnu
- arch: i686
variant: gnu
steps:
- uses: actions/checkout@v2
- run: choco install msys2
if: matrix.variant == 'gnu'
- run: rustup default ${{ matrix.channel }}
- run: rustup target add ${{ matrix.arch }}-pc-windows-${{ matrix.variant }}
- name: Build
run: cargo build --verbose --target ${{ matrix.arch }}-pc-windows-${{ matrix.variant }}
- name: Run tests
if: matrix.arch != 'aarch64'
run: cargo test --verbose --target ${{ matrix.arch }}-pc-windows-${{ matrix.variant }}
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

82 changes: 0 additions & 82 deletions appveyor.yml

This file was deleted.

0 comments on commit 55361d4

Please sign in to comment.