mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 22:28:32 +09:00
[Fix] (buildsystem): revert back to use 4 threads to compile
This commit is contained in:
@@ -12,10 +12,10 @@ jobs:
|
|||||||
BENCH_ROOT: ${{github.workspace}}
|
BENCH_ROOT: ${{github.workspace}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: Set Swap Space
|
- name: Set Swap Space
|
||||||
# uses: pierotofy/set-swap-space@master
|
uses: pierotofy/set-swap-space@master
|
||||||
# with:
|
with:
|
||||||
# swap-size-gb: 32
|
swap-size-gb: 32
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{env.BENCH_ROOT}}/build-bench
|
working-directory: ${{env.BENCH_ROOT}}/build-bench
|
||||||
run: cmake --build . --parallel ${nproc}
|
run: cmake --build . --parallel 4
|
||||||
|
|
||||||
- name: Benchmark
|
- name: Benchmark
|
||||||
working-directory: ${{env.BENCH_ROOT}}/build-bench
|
working-directory: ${{env.BENCH_ROOT}}/build-bench
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ jobs:
|
|||||||
TEST_ROOT: ${{github.workspace}}
|
TEST_ROOT: ${{github.workspace}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: Set Swap Space
|
- name: Set Swap Space
|
||||||
# uses: pierotofy/set-swap-space@master
|
uses: pierotofy/set-swap-space@master
|
||||||
# with:
|
with:
|
||||||
# swap-size-gb: 32
|
swap-size-gb: 32
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{env.TEST_ROOT}}/build-test
|
working-directory: ${{env.TEST_ROOT}}/build-test
|
||||||
run: cmake --build . --parallel ${nproc}
|
run: cmake --build . --parallel 4
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{env.TEST_ROOT}}/build-test
|
working-directory: ${{env.TEST_ROOT}}/build-test
|
||||||
|
|||||||
Reference in New Issue
Block a user