Add JOBS parameter to GH workflows (currently default, but not guaranteed)

... and fix missing newline at EOF
This commit is contained in:
Michael Hansen
2024-06-23 11:46:12 -07:00
parent d8f955d692
commit 462fc46424
3 changed files with 4 additions and 3 deletions

View File

@@ -13,8 +13,8 @@ jobs:
run: | run: |
mkdir build && cd build mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug .. cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j2 make -j4
- name: Test - name: Test
run: | run: |
cd build cd build
make check make check JOBS=4

View File

@@ -26,6 +26,7 @@ jobs:
bash.exe ..\..\tests\all_tests.sh bash.exe ..\..\tests\all_tests.sh
env: env:
PYTHON_EXE: python.exe PYTHON_EXE: python.exe
JOBS: 4
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3

2
.gitignore vendored
View File

@@ -5,4 +5,4 @@
*.kdev4 *.kdev4
/.kdev4 /.kdev4
__pycache__ __pycache__
tests-out tests-out