From c49841cf6fe5087c884b1eda3978def1383c1a0f Mon Sep 17 00:00:00 2001 From: badaix Date: Sat, 11 Dec 2021 20:03:28 +0100 Subject: [PATCH] Use two threads on self-hosted runner --- .github/workflows/self-hosted.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/self-hosted.yml b/.github/workflows/self-hosted.yml index b884f20d..df74de6b 100644 --- a/.github/workflows/self-hosted.yml +++ b/.github/workflows/self-hosted.yml @@ -14,14 +14,14 @@ jobs: - name: cmake build run: mkdir build && cd build && cmake -DBOOST_ROOT=/home/pi/Develop/boost_1_78_0 -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-psabi" -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} .. && cd .. - name: cmake make - run: cmake --build build -- -j 1 + run: cmake --build build -- -j 2 - name: debian package run: | - fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_77_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} -DBUILD_WITH_PULSE=OFF" binary + fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_78_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }} -DBUILD_WITH_PULSE=OFF" binary rename 's/_armhf/_without-pulse_armhf/g' ../snapclient*_armhf.deb rm ../snapserver*_armhf.deb fakeroot make -f debian/rules clean - fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_77_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }}" binary + fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_78_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DREVISION=${{ github.sha }}" binary - name: Archive artifacts uses: actions/upload-artifact@v2 with: