Skip to content

Commit 44c05d2

Browse files
committed
Migrate to macos-15-intel and use brew to install FPC/Lazarus
1 parent 6f2986d commit 44c05d2

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,14 @@ jobs:
7777

7878
# Build for platforms supported from macOS.
7979
# This means to build for macOS and (maybe in the future) iOS.
80-
# TODO: macos-13, not macos-latest (14 now) to avoid linking issues from LSOpenCFURLRef
8180
build-macos:
8281
name: Build Using macOS
83-
runs-on: macos-13
82+
runs-on: macos-15-intel
8483
steps:
8584
- uses: actions/checkout@v5
86-
- name: Install FPC+Lazarus
87-
uses: gcarreno/setup-lazarus@v3.3.1
88-
with:
89-
lazarus-version: stable
85+
- name: Install FPC
86+
run: brew install fpc
87+
9088
- name: Castle Game Engine - Env CASTLE_ENGINE_PATH
9189
run: echo "CASTLE_ENGINE_PATH=$GITHUB_WORKSPACE/castle-engine" >> $GITHUB_ENV
9290
- name: Castle Game Engine - Env PATH (non-Windows)
@@ -98,12 +96,12 @@ jobs:
9896

9997
- name: Package macOS
10098
# --package-format=zip, because this is command-line app, do not make "app bundle" that CGE by default does on macOS
101-
run: castle-engine package --os=darwin --cpu=x86_64 --verbose --package-format=zip
99+
run: castle-engine package --verbose --package-format=zip
102100
- name: Archive Artifacts
103101
uses: actions/upload-artifact@v4
104102
with:
105103
name: macos-build
106-
path: "*-darwin-x86_64.zip"
104+
path: "*-darwin-*.zip"
107105
if-no-files-found: error
108106

109107
release:

0 commit comments

Comments
 (0)