summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Woolcock <paul@woolcock.us>2020-09-25 17:03:21 -0400
committerPaul Woolcock <paul@woolcock.us>2020-09-25 23:54:42 -0400
commitcfe810be4ee7898cf5cfe39c8af9932f75ea3c59 (patch)
treefeed60e9d1458092491365a6513102c062aa62c2
parentf25574154e4ff4a19e04eb83b7b53146a6a27930 (diff)
Add windows & osx jobs
-rw-r--r--.github/workflows/rust.yml9
-rw-r--r--appveyor.yml29
2 files changed, 7 insertions, 31 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 9fe45a3..f26ac8a 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -11,13 +11,18 @@ env:
jobs:
ci:
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
strategy:
matrix:
rust:
- stable
- beta
- nightly
+ os:
+ - ubuntu-latest
+ - windows-latest
+ - macos-latest
+
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
@@ -36,7 +41,7 @@ jobs:
command: test
args: --features all --verbose
- uses: actions-rs/cargo@v1
- if: ${{ matrix.rust == 'nightly' }}
+ if: ${{ matrix.rust == 'nightly' && matrix.os == 'ubuntu-latest' }}
with:
command: fmt
args: --verbose --all -- --check
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index 6087033..0000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-environment:
- matrix:
- - TARGET: x86_64-pc-windows-msvc
- OTHER_TARGET: i686-pc-windows-msvc
- MAKE_TARGETS: test-unit-x86_64-pc-windows-msvc
- TOOLCHAIN: stable
- - TARGET: x86_64-pc-windows-msvc
- OTHER_TARGET: i686-pc-windows-msvc
- MAKE_TARGETS: test-unit-x86_64-pc-windows-msvc
- TOOLCHAIN: beta
- - TARGET: x86_64-pc-windows-msvc
- OTHER_TARGET: i686-pc-windows-msvc
- MAKE_TARGETS: test-unit-x86_64-pc-windows-msvc
- TOOLCHAIN: nightly
-
-install:
- - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- - rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain %TOOLCHAIN%
- - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- - rustup target add %OTHER_TARGET%
- - rustc -V
- - cargo -V
-
-clone_depth: 1
-
-build: false
-
-test_script:
- - cargo test --features all