mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Speed up GitHub Actions with -j
This commit is contained in:
parent
f2169ed0b4
commit
1f9cbddf37
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install libsdl2-dev
|
sudo apt-get install libsdl2-dev
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: make release
|
run: make release -j$(nproc)
|
||||||
env:
|
env:
|
||||||
ARCHIVE: 1
|
ARCHIVE: 1
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
@ -27,7 +27,7 @@ jobs:
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
choco install zip
|
choco install zip
|
||||||
make release
|
make release -j $env:NUMBER_OF_PROCESSORS
|
||||||
env:
|
env:
|
||||||
ARCHIVE: 1
|
ARCHIVE: 1
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
@ -40,7 +40,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: make release
|
run: make release -j$(sysctl -n hw.logicalcpu)
|
||||||
env:
|
env:
|
||||||
ARCHIVE: 1
|
ARCHIVE: 1
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
|
Loading…
Reference in a new issue