Merge remote-tracking branch 'origin/uraimo-new-gpio-pi' into feature… #96
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
on: [push, pull_request] | |
jobs: | |
armv7_job: | |
# The host should always be Linux | |
runs-on: ubuntu-18.04 | |
name: Build on ubuntu-18.04 armv7 | |
steps: | |
- uses: actions/checkout@v2.1.0 | |
- uses: uraimo/run-on-arch-action@v2.0.4 | |
name: Run commands | |
id: runcmd | |
with: | |
arch: armv7 | |
distro: ubuntu18.04 | |
githubToken: ${{ github.token }} | |
install: | | |
apt update | |
apt install -y libatomic1 libbsd0 clang libicu-dev libcurl4-nss-dev | |
apt install -y curl | |
curl -OL https://github.com/uraimo/buildSwiftOnARM/releases/download/5.0.3/swift-5.0.3-armv7-Ubuntu1804.tgz | |
tar xzf swift-5.0.3-armv7-Ubuntu1804.tgz | |
pwd | |
run: | | |
pwd | |
./usr/bin/swift build |