build in parallel jobs

This commit is contained in:
duhow
2024-08-23 12:00:20 +02:00
committed by Martin Michelsen
parent a9a28aa71b
commit f9986f5ac5
+3 -3
View File
@@ -34,7 +34,7 @@ jobs:
git clone https://github.com/fuzziqersoftware/phosg.git git clone https://github.com/fuzziqersoftware/phosg.git
cd phosg cd phosg
cmake . cmake .
make make -j $(nproc)
sudo make install sudo make install
- name: Install resource_file - name: Install resource_file
@@ -43,14 +43,14 @@ jobs:
git clone https://github.com/fuzziqersoftware/resource_dasm.git git clone https://github.com/fuzziqersoftware/resource_dasm.git
cd resource_dasm cd resource_dasm
cmake . cmake .
make make -j $(nproc)
sudo make install sudo make install
- name: Configure CMake - name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build - name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j $(nproc)
- name: Test - name: Test
working-directory: ${{github.workspace}}/build working-directory: ${{github.workspace}}/build