Skip to content

Commit a971108

Browse files
authored
use macos-26 to enable new SwiftUI (#294)
1 parent f9d65d7 commit a971108

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
lint:
14-
runs-on: macos-15
14+
runs-on: macos-26
1515
steps:
1616
- uses: actions/checkout@v5
1717
with:
@@ -25,7 +25,7 @@ jobs:
2525

2626
build:
2727
needs: lint
28-
runs-on: macos-15
28+
runs-on: macos-26
2929
strategy:
3030
fail-fast: false
3131
matrix:
@@ -40,13 +40,7 @@ jobs:
4040
with:
4141
submodules: recursive
4242

43-
- uses: maxim-lobanov/setup-xcode@v1
44-
with:
45-
xcode-version: 16.4
46-
47-
- uses: lukka/[email protected]
48-
49-
- uses: actions/setup-node@v4
43+
- uses: actions/setup-node@v5
5044
with:
5145
node-version: 24.x
5246

@@ -59,8 +53,7 @@ jobs:
5953
nlohmann-json \
6054
extra-cmake-modules \
6155
librsvg \
62-
md5sha1sum \
63-
ninja
56+
md5sha1sum
6457
./scripts/install-deps.sh ${{ matrix.arch }}
6558
npm i -g pnpm
6659
pnpm --prefix=fcitx5-webview i
@@ -73,7 +66,6 @@ jobs:
7366
git fetch --tags -f
7467
# Don't log key on any CI artifact.
7568
cmake -B build/${{ matrix.arch }} -G Ninja \
76-
-DCMAKE_Swift_COMPILER=`which swiftc` \
7769
-DKEY_LOGGING=OFF \
7870
-DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} \
7971
-DCMAKE_BUILD_TYPE=${{ matrix.type }}

fcitx5

0 commit comments

Comments
 (0)