Skip to content

Commit

Permalink
XXX find number of corse on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Nov 11, 2022
1 parent a2cc0ac commit 7afee3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ jobs:
CXX: no
run: ./configure ${COMMON_CONFIGURE_FLAGS} --prefix=$PWD/__prefix

- name: 'looking for number of processors (Windows/1)'
run: echo "${NUMBER_OF_PROCESSORS}"

- name: 'looking for number of processors (Windows/2)'
run: wmic computersystem get NumberOfCores

- name: 'setup make with nproc'
run: NPROC=2; echo "MAKE=make -j$NPROC -l$NPROC" >> $GITHUB_ENV

Expand Down

0 comments on commit 7afee3a

Please sign in to comment.