build in parallel jobs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user