ci: Use Arch Linux testing container

This commit is contained in:
mintsuki 2023-12-27 10:58:53 +01:00
parent 70e7a5ca80
commit bb48bc58da
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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