diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 90e65e95..a2dd0cbc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,22 +27,13 @@ jobs: sudo ./requirements.sh pip install -r requirements.txt --upgrade - - name: Install libncurses5 - run: sudo apt-get install -y libncurses5 libncursesw5 binutils-arm-none-eabi - - name: Install STM32 toolchain - env: - GCC_PATH: arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi - GCC_ARCHIVE_PATH: arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz - GCC_URL: https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz + - name: Install dependencies run: | - cd ${HOME} - wget -nv $GCC_URL - mkdir -p $GCC_PATH - tar -xJf $GCC_ARCHIVE_PATH - echo "${HOME}/${GCC_PATH}/bin" >> $GITHUB_PATH - - - name: Force PATH to update - run: hash -r + sudo apt install binutils-arm-none-eabi + sudo apt-get install -y libncurses5 libncursesw5 + sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + sudo apt-get -y install gcc-11 + sudo apt-get -y install g++-11 - name: Print versions of everything run: |