Add Windows bundled builds to CI

This commit is contained in:
Mike Waychison
2021-04-18 09:45:40 -07:00
parent 6d18305c05
commit 7883334dfd
+22
View File
@@ -31,6 +31,28 @@ jobs:
cargo build --examples --features "${CI_BUILD_FEATURES}"
cargo test --features "${CI_BUILD_FEATURES}"
build-windows:
name: build windows bundled
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
feature: ["", "static-link"]
steps:
- uses: actions/checkout@v2
- name: Build SDL2
shell: bash
env:
CI_BUILD_FEATURES: "gfx image ttf mixer bundled"
RUST_TEST_THREADS: 1
run: |
set -xeuo pipefail
rustc --version
cargo --version
cargo build --features "${CI_BUILD_FEATURES},${{matrix.feature}}"
cargo build --examples --features "${CI_BUILD_FEATURES},${{matrix.feature}}"
cargo test --features "${CI_BUILD_FEATURES},${{matrix.feature}}"
build-linux:
name: build linux
runs-on: ubuntu-20.04