-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0fca55
commit 2925a53
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# Configurable | ||
SWIFT_BUILDROOT="${SWIFT_BUILDROOT:=$(pwd)}" | ||
source $SWIFT_BUILDROOT/.devcontainer/build-scripts/swift-define | ||
|
||
# Build | ||
cd $WORKING_DIR | ||
make $BUILDROOT_OPTIONS swift-hello-build | ||
QEMU_TEST="/usr/bin/$QEMU_BIN -L $BUILDROOT_TARGET $BUILDROOT_TARGET/usr/bin/swift-hello" | ||
echo "$QEMU_TEST" | ||
$QEMU_TEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,11 @@ jobs: | |
with: | ||
name: build-${{ matrix.arch }} | ||
path: ${{ github.workspace }}/output/${{ matrix.arch }}/images/rootfs.tar | ||
- name: Test | ||
- name: Build Test | ||
run: | | ||
export SWIFT_BUILDROOT=$GITHUB_WORKSPACE | ||
export SWIFT_TARGET_ARCH=${{ matrix.arch }} | ||
$SWIFT_BUILDROOT/.devcontainer/build-scripts/test-swift.sh | ||
$SWIFT_BUILDROOT/.devcontainer/build-scripts/build-test.sh | ||
- name: Upload test binary | ||
uses: actions/[email protected] | ||
with: | ||
|