Skip to content

Commit

Permalink
Run build workflow in CI on the windows & macos also
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Oct 13, 2023
1 parent b9ea639 commit 55784da
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build
on:
pull_request: {}
push:
branches: [master]
branches: [develop, master]
# develop pushes and repository_dispatch handled in build_develop.yaml
env:
# These must be set for fetchdep.sh to get the right branch
Expand All @@ -11,7 +11,16 @@ env:
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
# We build on all 3 platforms to ensure we don't have any OS-specific build incompatibilities
strategy:
matrix:
image:
- ubuntu-latest
- windows-latest
- macos-latest
# Skip the ubuntu-latest build for the develop branch as the dedicated CD build_develop workflow handles that
if: github.event_name != 'push' || github.ref_name != 'develop' || matrix.image != 'ubuntu-latest'
runs-on: ${{ matrix.image }}
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 55784da

Please sign in to comment.