Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make macOS app artifact runnable #2297

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
-DCMAKE_XCODE_ATTRIBUTE_ARCHS=x86_64
-DTANGRAM_BUILD_TESTS=1
- name: "Run build"
run: cmake --build ./build
Expand All @@ -62,9 +63,12 @@ jobs:
- name: "Run Tests"
run: ./tests/tests.out
working-directory: ./build
- name: "Package demo app"
run: tar -cvf macos-app.tar *.app tests/tests.out
working-directory: ./build
- name: "Upload demo app"
uses: actions/upload-artifact@v2
with:
name: macos-app
path: build/*.app
path: build/macos-app.tar
retention-days: 60