From 44448710cb777dddd874872f13f23c3e5fdd98e5 Mon Sep 17 00:00:00 2001 From: stackotter Date: Mon, 8 Apr 2024 01:23:29 +1000 Subject: [PATCH] Fix building of GtkCodeGen in Linux and macOS CI workflows --- .github/workflows/swift-linux.yml | 2 +- .github/workflows/swift-macos.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift-linux.yml b/.github/workflows/swift-linux.yml index 9409535b..9543fd59 100644 --- a/.github/workflows/swift-linux.yml +++ b/.github/workflows/swift-linux.yml @@ -17,6 +17,7 @@ jobs: sudo apt install -y libgtk-4-dev clang - name: Build run: | + swift build --target GtkCodeGen && \ cd Examples && \ swift build --target SwiftCrossUI && \ swift build --target GtkBackend && \ @@ -27,7 +28,6 @@ jobs: swift build --target GreetingGeneratorExample && \ swift build --target NavigationExample && \ swift build --target SplitExample && \ - swift build --target GtkCodeGen && \ swift build --target GtkExample - name: Test run: swift test diff --git a/.github/workflows/swift-macos.yml b/.github/workflows/swift-macos.yml index 2fb8b364..852ededa 100644 --- a/.github/workflows/swift-macos.yml +++ b/.github/workflows/swift-macos.yml @@ -18,6 +18,7 @@ jobs: run: sed -i '' 's/-I..includedir.//g' /usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/13/libffi.pc - name: Build run: | + swift build --target GtkCodeGen && \ cd Examples && \ swift build --target SwiftCrossUI && \ swift build --target GtkBackend && \ @@ -28,7 +29,6 @@ jobs: swift build --target GreetingGeneratorExample && \ swift build --target NavigationExample && \ swift build --target SplitExample && \ - swift build --target GtkCodeGen && \ swift build --target GtkExample - name: Test run: swift test