Update Swift download script #113
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: | |
build: | |
name: Build Swift for Buildroot | |
strategy: | |
matrix: | |
config: ["arm64", "armv7", "armv6", "armv5", "x86_64", "i386", "ppc64le"] | |
runs-on: ubuntu-latest | |
container: colemancda/buildroot-swift:swift_${{ matrix.config }}_defconfig | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
export SWIFT_BUILDROOT=$GITHUB_WORKSPACE | |
export DEFCONFIG=swift_${{ matrix.config }}_defconfig | |
export DEBIAN_FRONTEND=noninteractive | |
export DEBCONF_NONINTERACTIVE_SEEN=true | |
$SWIFT_BUILDROOT/.devcontainer/build-scripts/build.sh | |
- name: Archive Build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build-${{ matrix.config }} | |
path: /workspaces/buildroot/output/images |