From 7883334dfd9fcc029df89389b5e5bcc3e46ad478 Mon Sep 17 00:00:00 2001 From: Mike Waychison Date: Sun, 18 Apr 2021 09:45:40 -0700 Subject: [PATCH] Add Windows bundled builds to CI --- .github/workflows/CI.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9a711847..6c1251ae 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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