Skip to content

Commit d5010df

Browse files
committed
Add Gtk3Backend to macOS and Linux CI, fix Windows CI
1 parent 07fc8d3 commit d5010df

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/swift-linux.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ jobs:
1717
- name: Install Dependencies
1818
run: |
1919
sudo apt update && \
20-
sudo apt install -y libgtk-4-dev clang
20+
sudo apt install -y libgtk-4-dev libgtk-3-dev clang
2121
- name: Build
2222
run: |
23-
swift build --target GtkCodeGen && \
2423
cd Examples && \
24+
swift build --target GtkCodeGen && \
2525
swift build --target SwiftCrossUI && \
2626
swift build --target GtkBackend && \
27+
swift build --target Gtk3Backend && \
2728
swift build --target CounterExample && \
2829
swift build --target ControlsExample && \
2930
swift build --target RandomNumberGeneratorExample && \

.github/workflows/swift-macos.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ jobs:
1616
run: sudo xcode-select -switch /Applications/Xcode_15.4.app
1717
- uses: actions/checkout@v3
1818
- name: Install Dependencies
19-
run: brew install pkg-config gtk4 || echo "This step 'fails' every time but it's just a brew linking error - not important."
19+
run: brew install pkg-config gtk4 gtk+3 || echo "This step 'fails' every time but it's just a brew linking error - not important."
2020
- name: Build
2121
run: |
22-
swift build --target GtkCodeGen && \
2322
cd Examples && \
23+
swift build --target GtkCodeGen && \
2424
swift build --target SwiftCrossUI && \
2525
swift build --target GtkBackend && \
26+
swift build --target Gtk3Backend && \
2627
swift build --target AppKitBackend && \
2728
swift build --target CounterExample && \
2829
swift build --target ControlsExample && \

.github/workflows/swift-windows.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
- name: Setup
2525
uses: compnerd/[email protected]
2626
with:
27-
branch: swift-6.0-release
28-
tag: 6.0-RELEASE
27+
branch: swift-5.10-release
28+
tag: 5.10-RELEASE
2929

3030
- name: Compute vcpkg Triplet
3131
id: triplet
@@ -60,6 +60,6 @@ jobs:
6060
PKG_CONFIG_PATH: ${{ github.workspace }}/vcpkg_installed/${{ steps.triplet.outputs.lowercase }}/lib/pkgconfig
6161
# Only build the library target to work around apple/swift-package-manager#6644
6262
run: swift build --target SwiftCrossUI -v
63-
64-
- name: Build WinUIBackend
65-
run: swift build --target WinUIBackend
63+
# Requires 6.0, and 6.0 is broken in CI for now.
64+
# - name: Build WinUIBackend
65+
# run: swift build --target WinUIBackend

0 commit comments

Comments
 (0)