1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +01:00

new CI run for macOS portable app bundle

This commit is contained in:
adam-bloom
2021-03-13 21:45:58 -07:00
parent 06e0e3db51
commit 911ec9f97b

View File

@@ -173,7 +173,36 @@ jobs:
uses: actions/upload-artifact@v2-preview
with:
name: "OpenRCT2-macOS-cmake"
path: artifacts
path: artifacts/OpenRCT2-MacOS-x64-cmake.tar.gz
macos-cmake-portable:
name: macOS (x64, portable) using CMake
runs-on: macos-latest
needs: [check-code-formatting]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: macos
- name: Build OpenRCT2
run: |
brew install ninja
. scripts/setenv -q && build -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=on -DMACOS_BUNDLE=on
- name: Build artifacts
shell: bash
run: |
. scripts/setenv
mkdir -p artifacts
mv bin/OpenRCT2.app artifacts
echo -e "\033[0;36mCompressing OpenRCT2.app...\033[0m"
cd artifacts
zip -rq openrct2-macos-cmake-app.zip OpenRCT2.app
- name: Upload artifacts (CI)
uses: actions/upload-artifact@v2-preview
with:
name: "OpenRCT2-macOS-cmake-app"
path: artifacts/openrct2-macos-cmake-app.zip
linux-portable:
name: Linux (x64, portable)