File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 3131 cargo build --examples --features "${CI_BUILD_FEATURES}"
3232 cargo test --features "${CI_BUILD_FEATURES}"
3333
34+ build-windows :
35+ name : build windows bundled
36+ runs-on : windows-latest
37+ strategy :
38+ fail-fast : false
39+ matrix :
40+ feature : ["", "static-link"]
41+ build_mode : ["", "--release"]
42+ steps :
43+ - uses : actions/checkout@v2
44+ - name : Build SDL2
45+ shell : bash
46+ env :
47+ # Bundled doesn't yet support gfx, image, ttf, mixer.
48+ CI_BUILD_FEATURES : " bundled"
49+ RUST_TEST_THREADS : 1
50+ run : |
51+ set -xeuo pipefail
52+ rustc --version
53+ cargo --version
54+ cargo build --features "${CI_BUILD_FEATURES} ${{matrix.feature}}" ${{matrix.build_mode}}
55+ cargo build --examples --features "${CI_BUILD_FEATURES} ${{matrix.feature}}" ${{matrix.build_mode}}
56+ cargo test --features "${CI_BUILD_FEATURES} ${{matrix.feature}}" ${{matrix.build_mode}}
57+
3458 build-linux :
3559 name : build linux
3660 runs-on : ubuntu-20.04
You can’t perform that action at this time.
0 commit comments