Skip to content

Commit

Permalink
Update macos_debug.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hello9999901 committed Apr 20, 2024
1 parent cdaa47c commit 467a399
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/macos_debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,16 @@ jobs:
with:
version: 1.18.6


- name: Create build directory
run: mkdir ${{ runner.temp }}/shadow_build_dir

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

0 comments on commit 467a399

Please sign in to comment.