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:
3333
3434 build-windows :
3535 name : build windows bundled
36- runs-on : windows-latest
36+ runs-on : ${{ matrix.os }}
3737 strategy :
3838 fail-fast : false
3939 matrix :
4040 feature : ["", "static-link"]
4141 build_mode : ["", "--release"]
42+ os : [macos-latest, ubuntu-latest, windows-latest]
4243 steps :
4344 - uses : actions/checkout@v2
4445 - name : Build SDL2
@@ -56,12 +57,10 @@ jobs:
5657 cargo test --features "${CI_BUILD_FEATURES} ${{matrix.feature}}" ${{matrix.build_mode}}
5758
5859 build-linux :
59- name : build linux
60+ name : build linux pkg-config
6061 runs-on : ubuntu-20.04
6162 strategy :
6263 fail-fast : false
63- matrix :
64- feature : ["", "bundled"]
6564 steps :
6665 - uses : actions/checkout@v2
6766 - name : Install dependencies
7776 set -xeuo pipefail
7877 rustc --version
7978 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