Skip to content

Commit 7c3a920

Browse files
authored
CI: Update ubuntu-latest runners to fix side effects of switch to 24.04 (#5079)
1 parent a7483d1 commit 7c3a920

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.github/workflows/c910v.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
sudo apt-get update
3939
sudo apt-get install autoconf automake autotools-dev ninja-build make ccache \
40-
gcc-${{ matrix.apt_triple }} gfortran-${{ matrix.apt_triple }} libgomp1-riscv64-cross
40+
gcc-${{ matrix.apt_triple }} gfortran-${{ matrix.apt_triple }} libgomp1-riscv64-cross libglib2.0-dev
4141
4242
- name: checkout qemu
4343
uses: actions/checkout@v3
@@ -52,6 +52,7 @@ jobs:
5252
wget https://github.com/revyos/qemu/commit/5164bca5a4bcde4534dc1a9aa3a7f619719874cf.patch
5353
cd qemu
5454
patch -p1 < ../5164bca5a4bcde4534dc1a9aa3a7f619719874cf.patch
55+
export CXXFLAGS="-Wno-error"; export CFLAGS="-Wno-error"
5556
./configure --prefix=$GITHUB_WORKSPACE/qemu-install --target-list=riscv64-linux-user --disable-system
5657
make -j$(nproc)
5758
make install

.github/workflows/codspeed-bench.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ubuntu-latest]
18+
os: [ubuntu-22.04]
1919
fortran: [gfortran]
2020
build: [make]
2121
pyver: ["3.12"]
@@ -147,7 +147,7 @@ jobs:
147147
OPENBLAS_NUM_THREADS=1 pytest benchmarks/bench_blas.py -k 'gesdd'
148148
149149
- name: Run benchmarks
150-
uses: CodSpeedHQ/action@v2
150+
uses: CodSpeedHQ/action@v3
151151
with:
152152
token: ${{ secrets.CODSPEED_TOKEN }}
153153
run: |

.github/workflows/dynamic_arch.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
run: |
4444
if [ "$RUNNER_OS" == "Linux" ]; then
4545
sudo apt-get update
46-
sudo apt-get install -y gfortran cmake ccache libtinfo5
46+
sudo apt-get install -y gfortran cmake ccache
47+
wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
48+
sudo apt install ./libtinfo5_6.3-2ubuntu0.1_amd64.deb
4749
elif [ "$RUNNER_OS" == "macOS" ]; then
4850
# It looks like "gfortran" isn't working correctly unless "gcc" is re-installed.
4951
brew reinstall gcc

.github/workflows/loongarch64_clang.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install APT deps
4242
run: |
4343
sudo apt-get update
44-
sudo apt-get install autoconf automake autotools-dev ninja-build make ccache
44+
sudo apt-get install autoconf automake autotools-dev ninja-build make ccache libglib2.0-dev
4545
4646
- name: Download and install loongarch64-toolchain
4747
run: |

.github/workflows/mips64.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
run: |
4242
sudo apt-get update
4343
sudo apt-get install autoconf automake autotools-dev ninja-build make ccache \
44-
gcc-${{ matrix.triple }} gfortran-${{ matrix.triple }} libgomp1-mips64el-cross
44+
gcc-${{ matrix.triple }} gfortran-${{ matrix.triple }} libgomp1-mips64el-cross libglib2.0-dev
4545
4646
- name: checkout qemu
4747
uses: actions/checkout@v3
4848
with:
4949
repository: qemu/qemu
5050
path: qemu
51-
ref: 79dfa177ae348bb5ab5f97c0915359b13d6186e2
51+
ref: ae35f033b874c627d81d51070187fbf55f0bf1a7
5252

5353
- name: build qemu
5454
run: |
@@ -59,8 +59,7 @@ jobs:
5959
6060
- name: Compilation cache
6161
uses: actions/cache@v3
62-
with:
63-
path: ~/.ccache
62+
with: path: ~/.ccache
6463
key: ccache-${{ runner.os }}-${{ matrix.target }}-${{ github.ref }}-${{ github.sha }}
6564
restore-keys: |
6665
ccache-${{ runner.os }}-${{ matrix.target }}-${{ github.ref }}

0 commit comments

Comments
 (0)