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