Skip to content

Commit

Permalink
CI: Update runner to use ubuntu-20.04.
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Oct 16, 2023
1 parent 8aaa36b commit 8e2bd63
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,18 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-18.04]
os: [ubuntu-20.04]
fail-fast: false
runs-on: ${{ matrix.os }}
name: build.py ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Install toolchain (Ubuntu)
if: runner.os == 'Linux'
run: |
sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
sudo apt-get update -qq
sudo apt-get install -y gcc-arm-embedded
sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi
sudo apt-get install -y cmake
- name: Check Versions
run: |
Expand All @@ -35,7 +33,7 @@ jobs:
cd src
make -j2
- name: Upload hex file
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: MICROBIT-MICROPYTHON-${{ github.sha }}.hex
path: src/MICROBIT.hex

0 comments on commit 8e2bd63

Please sign in to comment.