Skip to content

Commit

Permalink
static set cpus
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 30, 2024
1 parent c40d762 commit cc90471
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,8 @@ jobs:
- name: Install CMake
run: choco install -y cmake

- name: Determine CPU Cores
id: cpu-info
run: |
echo "CPU_CORES=$NUMBER_OF_PROCESSORS"
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 -- /m:${{ env.CPU_CORES }}
run: cmake --build build --config Release -- /m:4

0 comments on commit cc90471

Please sign in to comment.