mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 13:55:46 -04:00
CI: Build universal binaries for MacOS
This commit is contained in:
8
.github/workflows/rolling-release.yml
vendored
8
.github/workflows/rolling-release.yml
vendored
@ -339,18 +339,14 @@ jobs:
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.14
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_NOGUI_FRONTEND=OFF -DBUILD_QT_FRONTEND=ON -DUSE_SDL2=ON -DCMAKE_PREFIX_PATH=$HOME/deps -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -G Ninja ..
|
||||
cmake --build . --parallel
|
||||
cd bin
|
||||
codesign -s - --deep -f -v DuckStation.app
|
||||
../scripts/make-universal-macos-binary.sh ..
|
||||
zip -r duckstation-mac-release.zip DuckStation.app/
|
||||
|
||||
- name: Upload macOS .app
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: "macos"
|
||||
path: "build/bin/duckstation-mac-release.zip"
|
||||
path: "build/duckstation-mac-release.zip"
|
||||
|
||||
|
||||
create-release:
|
||||
|
Reference in New Issue
Block a user