Skip to content

Commit e6bd270

Browse files
committed
Fix docs workflow, add WinUIBackend & GtkBackend to Windows workflow
Updated the Linux and macOS workflows to build the recently added examples too.
1 parent f5cc3fe commit e6bd270

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.github/workflows/swift-linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
swift build --target GreetingGeneratorExample && \
3232
swift build --target NavigationExample && \
3333
swift build --target SplitExample && \
34+
swift build --target StressTestExample && \
35+
swift build --target SpreadsheetExample && \
36+
swift build --target NotesExample && \
3437
swift build --target GtkExample
3538
# - name: Test
3639
# run: swift test

.github/workflows/swift-macos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
swift build --target GreetingGeneratorExample && \
3131
swift build --target NavigationExample && \
3232
swift build --target SplitExample && \
33+
swift build --target StressTestExample && \
34+
swift build --target SpreadsheetExample && \
35+
swift build --target NotesExample && \
3336
swift build --target GtkExample
3437
# Calling `swift test` results in all targets getting built including targets such as WinUIBackend which
3538
# aren't available on macOS.

.github/workflows/swift-windows.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@ jobs:
4141
with:
4242
path: vcpkg_installed
4343
key: vcpkg-${{ steps.triplet.outputs.lowercase }}-${{ hashFiles('vcpkg.json') }}
44-
- name: Build
44+
- name: Build SwiftCrossUI
4545
env:
4646
PKG_CONFIG_PATH: ${{ github.workspace }}/vcpkg_installed/${{ steps.triplet.outputs.lowercase }}/lib/pkgconfig
4747
# Only build the library target to work around apple/swift-package-manager#6644
4848
run: swift build --target SwiftCrossUI -v
49+
- name: Build WinUIBackend
50+
run: swift build --target WinUIBackend
51+
- name: Build GtkBackend
52+
run: swift build --target GtkBackend

.github/workflows/update-docs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ on:
66

77
jobs:
88
update-docs:
9-
109
runs-on: ubuntu-latest
1110

1211
steps:
1312
- uses: actions/checkout@v3
14-
- uses: swift-actions/setup-swift@v1
1513
- name: Install Dependencies
1614
run: |
1715
sudo apt update && \

0 commit comments

Comments
 (0)