Skip to content

Commit

Permalink
Update cmake_mac.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
computergeek1507 authored Nov 28, 2023
1 parent e55c9bb commit b77180d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cmake_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,19 @@ jobs:
arch: 'clang_64'

- 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}} -DCMAKE_MACOSX_BUNDLE=ON

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: macdeployqt
run: macdeployqt ${{ github.workspace }}/build/ScottPlayer.app -dmg -verbose=3

- name: Build DMG
run: create-dmg xDXFViewer.dmg ./build/xDXFViewer.app

- name: Upload Installer
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: xDXFViewer
path: '**.dmg'
Expand Down

0 comments on commit b77180d

Please sign in to comment.