File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 31
31
cargo build --examples --features "${CI_BUILD_FEATURES}"
32
32
cargo test --features "${CI_BUILD_FEATURES}"
33
33
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
+
34
58
build-linux :
35
59
name : build linux
36
60
runs-on : ubuntu-20.04
You can’t perform that action at this time.
0 commit comments