Skip to content

Commit 467a399

Browse files
committed
Update macos_debug.yml
1 parent cdaa47c commit 467a399

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/macos_debug.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,16 @@ jobs:
7070
with:
7171
version: 1.18.6
7272

73+
7374
- name: Create build directory
7475
run: mkdir ${{ runner.temp }}/shadow_build_dir
7576

7677
- name: Build
7778
working-directory: ${{ runner.temp }}/shadow_build_dir
7879
run: |
79-
cmake -S ${{ env.SOURCE_DIR }} -B ${{ runner.temp }}/shadow_build_dir/ -G Ninja -DCMAKE_BUILD_TYPE=Debug
80-
cmake --build ${{ runner.temp }}/shadow_build_dir/ --target all --config Debug
81-
cmake --install ${{ runner.temp }}/shadow_build_dir
80+
export JOBS=$((`sysctl -n hw.ncpu`+1))
81+
qmake -r ${SOURCE_DIR}/qgroundcontrol.pro CONFIG+=installer CONFIG+=${BUILD_TYPE}
82+
make -j$JOBS
8283
8384
- name: Upload Build File
8485
uses: ./.github/actions/upload

0 commit comments

Comments
 (0)