Some minor CI tweaks
@@ -6,10 +6,11 @@ env:
jobs:
windows:
name: Windows CI
- runs-on: windows-2019
+ runs-on: windows-latest
steps:
- uses: actions/checkout@v2
+ - run: rustc --version && cargo --version
- name: Build
run: cargo check --verbose
- name: Test
@@ -21,6 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - run: rustc --version && cargo --version
- name: Build
run: cargo check --verbose
- name: Test
@@ -35,6 +37,7 @@ jobs:
- name: Install Dependencies
run: sudo apt-get install libasound2-dev libudev-dev pkg-config xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev
- uses: actions/checkout@v2
+ - run: rustc --version && cargo --version
- name: Build
run: cargo check --verbose
- name: Test
@@ -48,6 +51,7 @@ jobs:
- name: Install Dependencies
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
+ - run: rustc --version && cargo --version && wasm-pack --version
- name: Build
run: |
cd examples/wasm
@@ -57,15 +61,16 @@ jobs:
cd examples/wasm
wasm-pack test --headless --chrome
wasm-pack test --headless --firefox
+
docs:
name: Documentation CI
- runs-on: windows-2019
+ runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
- toolchain: nightly
+ toolchain: nightly # docs.rs uses nightly: https://docs.rs/about/builds
override: true
- run: rustc --version && cargo --version
- name: Build Docs
