@@ -8,6 +8,7 @@ concurrency:
88 cancel-in-progress : ${{ startsWith(github.event_name, 'pull') }}
99jobs :
1010 test :
11+ if : false # TEMP: narrow CI while debugging SwiftSyntax prebuilt consumption.
1112 name : Build and Test
1213 strategy :
1314 matrix :
7980 run : npm run check:bridgejs-dts
8081
8182 test-bridgejs-against-swift-versions :
83+ if : false # TEMP: narrow CI while debugging SwiftSyntax prebuilt consumption.
8284 name : Test BridgeJS against Swift versions
8385 strategy :
8486 matrix :
@@ -108,6 +110,7 @@ jobs:
108110 BRIDGEJS_OVERRIDE_SWIFT_SYNTAX_VERSION : ${{ matrix.entry.swift-syntax-version }}
109111
110112 native-build :
113+ if : false # TEMP: narrow CI while debugging SwiftSyntax prebuilt consumption.
111114 # Check native build to make it easy to develop applications by Xcode
112115 name : Build for native target
113116 strategy :
@@ -126,6 +129,7 @@ jobs:
126129 DEVELOPER_DIR : /Applications/${{ matrix.xcode }}.app/Contents/Developer/
127130
128131 prettier :
132+ if : false # TEMP: narrow CI while debugging SwiftSyntax prebuilt consumption.
129133 runs-on : ubuntu-latest
130134 steps :
131135 - uses : actions/checkout@v6
@@ -136,6 +140,7 @@ jobs:
136140 - run : npx prettier --check Runtime/src
137141
138142 format :
143+ if : false # TEMP: narrow CI while debugging SwiftSyntax prebuilt consumption.
139144 runs-on : ubuntu-latest
140145 container :
141146 image : swift:6.3
@@ -151,6 +156,7 @@ jobs:
151156 }
152157
153158 check-bridgejs-generated :
159+ if : false # TEMP: narrow CI while debugging SwiftSyntax prebuilt consumption.
154160 runs-on : ubuntu-22.04
155161 steps :
156162 - uses : actions/checkout@v6
@@ -175,6 +181,7 @@ jobs:
175181
176182 build-examples :
177183 runs-on : ubuntu-22.04
184+ timeout-minutes : 20
178185 steps :
179186 - uses : actions/checkout@v6
180187 - uses : ./.github/actions/install-swift
@@ -192,20 +199,27 @@ jobs:
192199 swift-syntax-version : " 603.0.2"
193200 - run : |
194201 swift --version
195- ./Utilities/build-examples.sh
202+ echo "SwiftSyntax restore source: ${{ steps.swiftsyntax-prebuilts.outputs.restore-source }}"
203+ echo "SwiftSyntax cache hit: ${{ steps.swiftsyntax-prebuilts.outputs.cache-hit }}"
204+ echo "SwiftSyntax prebuilts path: ${{ steps.swiftsyntax-prebuilts.outputs.prebuilts-path }}"
205+ find "${{ steps.swiftsyntax-prebuilts.outputs.prebuilts-path }}" -maxdepth 3 -type f | sort
206+ cd Examples/ActorOnWebWorker
207+ ./build.sh release
196208 env:
197209 SWIFT_SDK_ID_wasm32_unknown_wasip1_threads: ${{ steps.setup-wasm32-unknown-wasip1-threads.outputs.swift-sdk-id }}
198210 SWIFT_SDK_ID_wasm32_unknown_wasip1: ${{ steps.setup-wasm32-unknown-wasip1.outputs.swift-sdk-id }}
199211 SWIFT_PACKAGE_FLAGS: ${{ steps.swiftsyntax-prebuilts.outputs.swift-flags }}
200- - run : ./Utilities/prepare-gh-pages.sh
212+ - if : false # TEMP: skip pages packaging while debugging one example.
213+ run : ./Utilities/prepare-gh-pages.sh
201214 - name : Upload static files as artifact
215+ if : false # TEMP: skip pages artifact upload while debugging one example.
202216 id : deployment
203217 uses : actions/upload-pages-artifact@v5
204218 with :
205219 path : ./_site
206220 deploy-examples :
207221 runs-on : ubuntu-latest
208- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
222+ if : false # TEMP: narrow CI while debugging SwiftSyntax prebuilt consumption.
209223 environment :
210224 name : github-pages
211225 url : ${{ steps.deployment.outputs.page_url }}
0 commit comments