Skip to content

Commit f4d3107

Browse files
committed
Update GitHub CI
1 parent 68de156 commit f4d3107

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/buildroot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,13 @@ jobs:
2222
with:
2323
name: build-${{ matrix.arch }}
2424
path: ./output/${{ matrix.arch }}/images
25+
- name: Test
26+
run: |
27+
export SWIFT_BUILDROOT=$GITHUB_WORKSPACE
28+
export SWIFT_TARGET_ARCH=${{ matrix.arch }}
29+
$SWIFT_BUILDROOT/.devcontainer/build-scripts/test-swift.sh
30+
- name: Upload test binary
31+
uses: actions/upload-artifact@v3
32+
with:
33+
name: swift-hello-${{ matrix.arch }}
34+
path: ./output/${{ matrix.arch }}/target/usr/bin/swift-hello

0 commit comments

Comments
 (0)