File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ jobs:
33
33
34
34
build-windows :
35
35
name : build windows bundled
36
- runs-on : windows-latest
36
+ runs-on : ${{ matrix.os }}
37
37
strategy :
38
38
fail-fast : false
39
39
matrix :
40
40
feature : ["", "static-link"]
41
41
build_mode : ["", "--release"]
42
+ os : [macos-latest, ubuntu-latest, windows-latest]
42
43
steps :
43
44
- uses : actions/checkout@v2
44
45
- name : Build SDL2
@@ -56,12 +57,10 @@ jobs:
56
57
cargo test --features "${CI_BUILD_FEATURES} ${{matrix.feature}}" ${{matrix.build_mode}}
57
58
58
59
build-linux :
59
- name : build linux
60
+ name : build linux pkg-config
60
61
runs-on : ubuntu-20.04
61
62
strategy :
62
63
fail-fast : false
63
- matrix :
64
- feature : ["", "bundled"]
65
64
steps :
66
65
- uses : actions/checkout@v2
67
66
- name : Install dependencies
77
76
set -xeuo pipefail
78
77
rustc --version
79
78
cargo --version
80
- cargo build --features "${CI_BUILD_FEATURES},${{matrix.feature}} "
81
- cargo build --examples --features "${CI_BUILD_FEATURES},${{matrix.feature}} "
82
- cargo test --features "${CI_BUILD_FEATURES},${{matrix.feature}} "
79
+ cargo build --features "${CI_BUILD_FEATURES}"
80
+ cargo build --examples --features "${CI_BUILD_FEATURES}"
81
+ cargo test --features "${CI_BUILD_FEATURES}"
You can’t perform that action at this time.
0 commit comments