mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
ci: osx: don't install packages already in runner; enable releases and port-net
This commit is contained in:
1 parent
31dbb5e7c6
commit
9f43c906db
1 file changed
+3
-5
@@ -153,11 +153,10 @@ jobs:
|
|||||||
|
|
||||||
build-x86_64-osx:
|
build-x86_64-osx:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
if: github.ref == 'refs/heads/port'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew install cmake gcc python3 zlib git
|
brew install zlib
|
||||||
wget http://libsdl.org/release/SDL2-2.30.9.dmg -O SDL2.dmg
|
wget http://libsdl.org/release/SDL2-2.30.9.dmg -O SDL2.dmg
|
||||||
hdiutil mount SDL2.dmg
|
hdiutil mount SDL2.dmg
|
||||||
sudo cp -vr /Volumes/SDL2/SDL2.framework /Library/Frameworks
|
sudo cp -vr /Volumes/SDL2/SDL2.framework /Library/Frameworks
|
||||||
@@ -192,11 +191,10 @@ jobs:
|
|||||||
|
|
||||||
build-arm64-osx:
|
build-arm64-osx:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
if: github.ref == 'refs/heads/port'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew install cmake gcc python3 zlib git
|
brew install zlib
|
||||||
wget http://libsdl.org/release/SDL2-2.30.9.dmg -O SDL2.dmg
|
wget http://libsdl.org/release/SDL2-2.30.9.dmg -O SDL2.dmg
|
||||||
hdiutil mount SDL2.dmg
|
hdiutil mount SDL2.dmg
|
||||||
sudo cp -vr /Volumes/SDL2/SDL2.framework /Library/Frameworks
|
sudo cp -vr /Volumes/SDL2/SDL2.framework /Library/Frameworks
|
||||||
@@ -304,7 +302,7 @@ jobs:
|
|||||||
publish-latest-build:
|
publish-latest-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/port'
|
if: github.ref == 'refs/heads/port'
|
||||||
needs: [build-i686-windows, build-i686-linux, build-x86_64-windows, build-x86_64-linux, build-arm64-nswitch, build-flatpak-bundle]
|
needs: [build-i686-windows, build-i686-linux, build-x86_64-windows, build-x86_64-linux, build-arm64-nswitch, build-x86_64-osx, build-arm64-osx, build-flatpak-bundle]
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in new issue
Block a user