Skip to content

Commit

Permalink
[github-actions] remove cmake version 3.10.3 (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhui authored Jan 10, 2025
1 parent 9b2ea83 commit d9207aa
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ concurrency:
jobs:

pretty:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y clang-format-14 shellcheck
python3 -m pip install yapf==0.29.0
sudo snap install shfmt
Expand All @@ -60,7 +60,7 @@ jobs:
arm-gcc:
name: arm-gcc-${{ matrix.gcc_ver }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
include:
Expand All @@ -86,18 +86,10 @@ jobs:
- name: Bootstrap
run: |
cd /tmp
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
sudo apt-get update
sudo apt-get --no-install-recommends install -y build-essential lib32z1 ninja-build
wget --tries 4 --no-check-certificate --quiet ${{ matrix.gcc_download_url }} -O gcc-arm.tar.bz2
tar xjf gcc-arm.tar.bz2
sudo apt-get remove cmake
sudo apt-get purge --auto-remove cmake
wget http://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz
tar xf cmake-3.10.3.tar.gz
cd cmake-3.10.3
./configure
sudo make install
cmake --version | grep 3.10.3
wget --tries 4 --no-check-certificate --quiet ${{ matrix.gcc_download_url }} -O gcc-arm
tar xf gcc-arm
- name: Build
run: |
export PATH=/tmp/${{ matrix.gcc_extract_dir }}/bin:$PATH
Expand Down

0 comments on commit d9207aa

Please sign in to comment.