Skip to content

Commit

Permalink
Added build_win to conserve resources
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmith35 authored Oct 24, 2024
1 parent 5543239 commit bdcddf6
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/build_win.yml
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

0 comments on commit bdcddf6

Please sign in to comment.