Update GitHub CI #153
Workflow file for this run
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
name: Buildroot | |
on: [push] | |
jobs: | |
buildroot-armv7-build: | |
name: Build Armv7 | |
runs-on: ubuntu-20.04 | |
container: colemancda/swift-buildroot:amd64-prebuilt-armv7 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Swift Version | |
run: swift --version | |
- name: Build | |
run: | | |
cd /usr/src/buildroot-external | |
export SWIFT_ARCH=armv7 | |
export SWIFT_PACKAGE_PATH=$GITHUB_WORKSPACE | |
export SWIFTPM_DISABLE_PLUGINS=1 | |
./build-swift-package.sh | |
- name: Archive Build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: swiftpm-build-armv7 | |
path: .build/*/*.xctest |