mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Add Windows bundled builds to CI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user