Skip to content

Commit 00feb27

Browse files
committed
Updated CI
1 parent e2e6d5e commit 00feb27

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/buildroot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,14 @@ jobs:
1919
export SWIFT_ARCH=armv7
2020
export SWIFT_PACKAGE_PATH=$GITHUB_WORKSPACE
2121
./build-swift-package.sh
22+
- name: Archive Build artifacts
23+
uses: actions/upload-artifact@v3
24+
with:
25+
name: swiftpm-build
26+
path: .build/*
27+
- name: Test
28+
run: |
29+
cd /usr/src/buildroot-external
30+
export SWIFT_ARCH=armv7
31+
export BUILDROOT_SRCDIR=./buildroot-${SWIFT_ARCH}
32+
chroot ${BUILDROOT_SRCDIR}/output/target /usr/bin/qemu-arm-static /usr/bin/TLVCodingPackageTests.xctest

0 commit comments

Comments
 (0)