Skip to content

Commit 83b11c5

Browse files
committed
try enabling riscv runner again
1 parent 59a1b11 commit 83b11c5

File tree

1 file changed

+9
-13
lines changed
  • src/tools/miri/.github/workflows

1 file changed

+9
-13
lines changed

src/tools/miri/.github/workflows/ci.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
os: ubuntu-24.04-arm
3232
multiarch: armhf
3333
gcc_cross: arm-linux-gnueabihf
34+
- host_target: riscv64gc-unknown-linux-gnu
35+
os: ubuntu-latest
36+
multiarch: riscv64
37+
gcc_cross: riscv64-linux-gnu
38+
qemu: true
3439
# Ubuntu mirrors are not reliable enough for these architectures
3540
# (see <https://bugs.launchpad.net/ubuntu/+bug/2130309>).
36-
# - host_target: riscv64gc-unknown-linux-gnu
37-
# os: ubuntu-latest
38-
# multiarch: riscv64
39-
# gcc_cross: riscv64-linux-gnu
40-
# qemu: true
4141
# - host_target: s390x-unknown-linux-gnu
4242
# os: ubuntu-latest
4343
# multiarch: s390x
@@ -59,13 +59,6 @@ jobs:
5959
HOST_TARGET: ${{ matrix.host_target }}
6060
steps:
6161
- uses: actions/checkout@v4
62-
- name: apt update
63-
if: ${{ startsWith(matrix.os, 'ubuntu') }}
64-
# The runners seem to have outdated apt repos sometimes
65-
run: sudo apt update
66-
- name: install qemu
67-
if: ${{ matrix.qemu }}
68-
run: sudo apt install qemu-user qemu-user-binfmt
6962
- name: install multiarch
7063
if: ${{ matrix.multiarch != '' }}
7164
run: |
@@ -75,10 +68,13 @@ jobs:
7568
sudo dpkg --add-architecture ${{ matrix.multiarch }}
7669
# Ubuntu Ports often has outdated mirrors so try a few times to get the apt repo
7770
for TRY in $(seq 3); do
78-
{ sudo apt update && break; } || sleep 30
71+
{ sudo apt update && break; } || sleep 60
7972
done
8073
# Install needed packages
8174
sudo apt install $(echo "libatomic1: zlib1g-dev:" | sed 's/:/:${{ matrix.multiarch }}/g')
75+
- name: install qemu
76+
if: ${{ matrix.qemu }}
77+
run: sudo apt install qemu-user qemu-user-binfmt
8278
- uses: ./.github/workflows/setup
8379
with:
8480
toolchain_flags: "--host ${{ matrix.host_target }}"

0 commit comments

Comments
 (0)