Skip to content

Commit 5a73440

Browse files
authored
Merge pull request #84 from wnienhaus/build_on_ubuntu_2004
Update builder image to ubuntu-20.04
2 parents 50e1b97 + 27901a8 commit 5a73440

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/run_tests.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
tests:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
1010
with:
@@ -44,6 +44,10 @@ jobs:
4444
id: build_binutils
4545
run: |
4646
echo "Building binutils-esp32ulp"
47+
# building requires an older version of gcc
48+
sudo apt-get install -y gcc-7 g++-7
49+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 7
50+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 7
4751
git clone --depth 1 https://github.com/espressif/binutils-esp32ulp.git
4852
pushd binutils-esp32ulp
4953
git describe --always --tags

0 commit comments

Comments
 (0)