-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push and pull request event workflows.
- Loading branch information
1 parent
6c925e5
commit 575d9f3
Showing
2 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
name: On Pull Request | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
name: Build | ||
uses: ./.github/workflows/reusable/build.yaml | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
build-os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
build-configuration: | ||
- Debug | ||
- Release | ||
secrets: | ||
github-token: ${{github.token}} | ||
with: | ||
build-os: ${{matrix.build-os}} | ||
build-configuration: ${{matrix.build-configuration}} | ||
test: | ||
name: Test | ||
uses: ./.github/workflows/reusable/test.yaml | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
build-os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
secrets: | ||
github-token: ${{github.token}} | ||
with: | ||
build-os: ${{matrix.build-os}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
name: On Push | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
name: Build | ||
uses: ./.github/workflows/reusable/build.yaml | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
build-os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
build-configuration: | ||
- Debug | ||
- Release | ||
secrets: | ||
github-token: ${{github.token}} | ||
with: | ||
build-os: ${{matrix.build-os}} | ||
build-configuration: ${{matrix.build-configuration}} | ||
test: | ||
name: Test | ||
uses: ./.github/workflows/reusable/test.yaml | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
build-os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
secrets: | ||
github-token: ${{github.token}} | ||
with: | ||
build-os: ${{matrix.build-os}} |