From 6ffe17fb137aa0e29781943daf93308d8ae1b482 Mon Sep 17 00:00:00 2001 From: windowsair Date: Sat, 15 Apr 2023 11:59:56 +0800 Subject: [PATCH] ci: Update to ubuntu20.04 --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc31f82..b5c92a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 continue-on-error: false strategy: matrix: @@ -29,8 +29,10 @@ jobs: if: matrix.target-hardware == 'esp8266' run: | sudo apt update - sudo apt install -y gcc git wget make libncurses-dev flex bison python python-setuptools python-serial ninja-build + sudo apt install -y gcc git wget make libncurses-dev flex bison python python-setuptools python3-serial ninja-build wget https://dl.espressif.com/dl/xtensa-lx106-elf-linux64-1.22.0-100-ge567ec7-5.2.0.tar.gz + curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py + python get-pip.py - name: install if: matrix.target-hardware == 'esp8266'