Update Workflow

This commit is contained in:
Zhi Guan
2022-10-11 09:38:40 +08:00
parent 0d32a8cdcc
commit 51b0e2bcc1
2 changed files with 11 additions and 8 deletions

View File

@@ -2,9 +2,9 @@ name: CMake
on:
push:
branches: [ develop ]
branches: [ $default-branch ]
pull_request:
branches: [ develop ]
branches: [ $default-branch ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@@ -15,7 +15,10 @@ jobs:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

View File

@@ -1,9 +1,9 @@
name: Cygwin
on:
push:
branches: [ develop ]
branches: [ $default-branch ]
pull_request:
branches: [ develop ]
branches: [ $default-branch ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)