Skip to content

Commit

Permalink
Expand bundled testing to linux and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
waych committed Apr 23, 2021
1 parent 9281179 commit 960d88c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ jobs:
build-windows:
name: build windows bundled
runs-on: windows-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
feature: ["", "static-link"]
build_mode: ["", "--release"]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Build SDL2
Expand All @@ -56,12 +57,10 @@ jobs:
cargo test --features "${CI_BUILD_FEATURES} ${{matrix.feature}}" ${{matrix.build_mode}}
build-linux:
name: build linux
name: build linux pkg-config
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
feature: ["", "bundled"]
steps:
- uses: actions/checkout@v2
- name: Install dependencies
Expand All @@ -77,6 +76,6 @@ jobs:
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}}"
cargo build --features "${CI_BUILD_FEATURES}"
cargo build --examples --features "${CI_BUILD_FEATURES}"
cargo test --features "${CI_BUILD_FEATURES}"

0 comments on commit 960d88c

Please sign in to comment.