-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added build_win to conserve resources
- Loading branch information
Showing
1 changed file
with
53 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,53 @@ | ||
name: Build Win | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'deps/**' | ||
- 'src/**' | ||
- '**/CMakeLists.txt' | ||
- 'version.inc' | ||
- 'bbl/**' | ||
- 'resources/**' | ||
- ".github/workflows/build_*.yml" | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'deps/**' | ||
- 'src/**' | ||
- '**/CMakeLists.txt' | ||
- 'version.inc' | ||
- ".github/workflows/build_*.yml" | ||
- 'BuildLinux.sh' | ||
- 'build_win.bat' | ||
|
||
workflow_dispatch: # manual dispatch | ||
inputs: | ||
build-deps-only: | ||
description: 'Only build dependencies (bypasses caching)' | ||
type: boolean | ||
default: false | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build_win: | ||
name: Build Win | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- os: windows-latest | ||
arch: x86_64 | ||
uses: ./.github/workflows/build_check_cache.yml | ||
with: | ||
os: ${{ matrix.os }} | ||
arch: ${{ matrix.arch }} | ||
build-deps-only: ${{ inputs.build-deps-only || false }} | ||
secrets: inherit |