Skip to content

Commit

Permalink
Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 30, 2024
1 parent 05f3a1f commit ea1cce0
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
- main
paths:
- '.github/workflows/build-windows.yml'
#- 'src/**'
#- 'include/**'
#- 'example/**'
#- 'CMakeLists.txt'
- 'src/**'
- 'include/**'
- 'example/**'
- 'CMakeLists.txt'

jobs:
build:
Expand All @@ -24,8 +24,13 @@ jobs:
- name: Install CMake
run: choco install -y cmake

- name: Determine CPU Cores
id: cpu-info
run: |
echo "CPU_CORES=%NUMBER_OF_PROCESSORS%" >> $GITHUB_ENV
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Release

- name: Build
run: cmake --build build --config Release
run: cmake --build build --config Release -- /m:${{ env.CPU_CORES }}

0 comments on commit ea1cce0

Please sign in to comment.