From 1cee3363decb5c59299e437ebcd400e2f7d8e318 Mon Sep 17 00:00:00 2001 From: Joshua Sing Date: Sun, 13 Apr 2025 00:38:28 +1000 Subject: ci: only test loong64 on ubuntu-24.04 Versions of Ubuntu prior to 24.04 do not have the g++{,-14}-loongarch64-linux-gnu package. --- .github/workflows/linux.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index bce596b..6fa3f53 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-22.04", "ubuntu-24.04"] - arch: ["native", "arm32", "arm64", "loong64", "mingw32", "mingw64", "mips64"] + arch: ["native", "arm32", "arm64", "mingw32", "mingw64", "mips64"] compiler: ["gcc"] include: - os: "ubuntu-22.04" @@ -32,14 +32,13 @@ jobs: - os: "ubuntu-24.04" arch: "native" compiler: "clang" + - os: "ubuntu-24.04" # loong64 + arch: "loong64" + compiler: "gcc" steps: - name: "Checkout repository" uses: actions/checkout@v4 - - name: "Add universe repository" - if: matrix.arch == 'loong64' - run: sudo add-apt-repository universe - - name: "Run tests" run: ./scripts/test env: -- cgit v1.2.3-55-g6feb