File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
.devcontainer/build-scripts Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ source $SWIFT_BUILDROOT/.devcontainer/build-scripts/swift-define
88# Build
99cd $WORKING_DIR
1010make $BUILDROOT_OPTIONS swift-hello-build
11- /usr/bin/ $QEMU_BIN -L $BUILDROOT_TARGET $BUILDROOT_TARGET /usr/bin/swift-hello
11+ file $BUILDROOT_TARGET /usr/bin/swift-hello
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ # Configurable
5+ SWIFT_BUILDROOT=" ${SWIFT_BUILDROOT:= $(pwd)} "
6+ source $SWIFT_BUILDROOT /.devcontainer/build-scripts/swift-define
7+
8+ # Build
9+ cd $WORKING_DIR
10+ make $BUILDROOT_OPTIONS swift-hello-build
11+ QEMU_TEST=" /usr/bin/$QEMU_BIN -L $BUILDROOT_TARGET $BUILDROOT_TARGET /usr/bin/swift-hello"
12+ echo " $QEMU_TEST "
13+ $QEMU_TEST
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ jobs:
2222 with :
2323 name : build-${{ matrix.arch }}
2424 path : ${{ github.workspace }}/output/${{ matrix.arch }}/images/rootfs.tar
25- - name : Test
25+ - name : Build Test
2626 run : |
2727 export SWIFT_BUILDROOT=$GITHUB_WORKSPACE
2828 export SWIFT_TARGET_ARCH=${{ matrix.arch }}
29- $SWIFT_BUILDROOT/.devcontainer/build-scripts/test-swift .sh
29+ $SWIFT_BUILDROOT/.devcontainer/build-scripts/build-test .sh
3030 - name : Upload test binary
31313232 with :
You can’t perform that action at this time.
0 commit comments