Skip to content

Commit

Permalink
Merge pull request #1077 from gqrx-sdr/ci-make-parallel
Browse files Browse the repository at this point in the history
Speed up the build with parallel jobs
  • Loading branch information
argilo authored Jan 23, 2022
2 parents 0524552 + ff1122d commit 87e5b62
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make -j4
sudo make install
sudo ldconfig
Expand All @@ -29,7 +29,7 @@ jobs:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make -j4
sudo make install
sudo ldconfig
Expand All @@ -38,7 +38,7 @@ jobs:
cd libosmo-dsp
autoreconf -i
./configure --prefix=/usr
make
make -j4
sudo make install
sudo ldconfig
Expand All @@ -49,7 +49,7 @@ jobs:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULES_DIR=/usr/lib/x86_64-linux-gnu/cmake ..
make
make -j4
sudo make install
sudo ldconfig
Expand All @@ -60,7 +60,7 @@ jobs:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULES_DIR=/usr/lib/x86_64-linux-gnu/cmake ..
make
make -j4
sudo make install
sudo ldconfig
- name: Checkout code
Expand All @@ -71,7 +71,7 @@ jobs:
run: mkdir build && cd build && cmake ..
- name: Compile
working-directory: build
run: make
run: make -j4
- name: Build AppImage
run: ./appimage.sh
- name: Save artifact
Expand All @@ -97,7 +97,7 @@ jobs:
mkdir build
cd build
cmake ..
make
make -j4
make install
cd /tmp
Expand All @@ -107,6 +107,7 @@ jobs:
mkdir build
cd build
cmake ..
make -j4
sudo make install
cd /tmp
Expand All @@ -115,6 +116,7 @@ jobs:
mkdir build
cd build
cmake ..
make -j4
sudo make install
cd /tmp
Expand All @@ -123,6 +125,7 @@ jobs:
mkdir build
cd build
cmake ..
make -j4
make install
cd /tmp
Expand All @@ -142,6 +145,7 @@ jobs:
mkdir build
cd build
cmake ..
make -j4
make install
cd /tmp
Expand All @@ -150,7 +154,7 @@ jobs:
mkdir build
cd build
cmake ..
LIBRARY_PATH=/usr/local/opt/icu4c/lib make
LIBRARY_PATH=/usr/local/opt/icu4c/lib make -j4
make install
- name: Install Apple certificate
env:
Expand All @@ -177,7 +181,7 @@ jobs:
run: mkdir build && cd build && cmake ..
- name: Compile
working-directory: build
run: make
run: make -j4
- name: Build app bundle
run: ./macos_bundle.sh
- name: Notarize app bundle
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: mkdir build && cd build && cmake -DLINUX_AUDIO_BACKEND:STRING=${{ matrix.backend }} ..
- name: Compile
working-directory: build
run: make
run: make -j4
- name: Validate desktop entry
run: desktop-file-validate gqrx.desktop
- name: Validate appstream metadata
Expand All @@ -43,12 +43,12 @@ jobs:
mkdir build
cd build
cmake ..
LIBRARY_PATH=/usr/local/opt/icu4c/lib make
LIBRARY_PATH=/usr/local/opt/icu4c/lib make -j4
make install
- name: Checkout code
uses: actions/checkout@v2
- name: Configure
run: mkdir build && cd build && cmake -DOSX_AUDIO_BACKEND:STRING=${{ matrix.backend }} ..
- name: Compile
working-directory: build
run: make
run: make -j4

0 comments on commit 87e5b62

Please sign in to comment.