:: commit 92ce92700d3ef871730375995beb2762ca92dba9

mintsuki <mintsuki@protonmail.com> — 2023-12-27 09:58

parents: 4b22b62fe3

ci: Use Arch Linux testing container

diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index f2dc0880..8841a441 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -9,6 +9,12 @@ jobs:
     container: archlinux:latest
 
     steps:
+      - name: Switch to Arch testing
+        run: |
+          set -e
+          sed -i ':a;N;$!ba;s/#\[core-testing\]\n#Include/[core-testing]\nInclude/g' /etc/pacman.conf
+          sed -i ':a;N;$!ba;s/#\[extra-testing\]\n#Include/[extra-testing]\nInclude/g' /etc/pacman.conf
+
       - name: Install dependencies
         run: pacman --noconfirm -Syu && pacman --needed --noconfirm -S base-devel git autoconf automake nasm curl mtools llvm clang lld aarch64-linux-gnu-gcc riscv64-linux-gnu-gcc
 
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9ac8d963..fb521ba7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,6 +12,12 @@ jobs:
     container: archlinux:latest
 
     steps:
+      - name: Switch to Arch testing
+        run: |
+          set -e
+          sed -i ':a;N;$!ba;s/#\[core-testing\]\n#Include/[core-testing]\nInclude/g' /etc/pacman.conf
+          sed -i ':a;N;$!ba;s/#\[extra-testing\]\n#Include/[extra-testing]\nInclude/g' /etc/pacman.conf
+
       - name: Install dependencies
         run: pacman --noconfirm -Syu && pacman --needed --noconfirm -S base-devel git autoconf automake nasm curl mtools llvm clang lld mingw-w64-gcc
 
tab: 248 wrap: offon