diff options
| author | Joshua Sing <joshua@joshuasing.dev> | 2025-04-13 00:38:28 +1000 |
|---|---|---|
| committer | Joshua Sing <joshua@joshuasing.dev> | 2025-04-13 00:40:27 +1000 |
| commit | 1cee3363decb5c59299e437ebcd400e2f7d8e318 (patch) | |
| tree | 83c415d52db7bb1c670b2ea2893ad7e7cce1cdf5 /.github/workflows | |
| parent | 736426b53fd6c4bf6b1e1edff90e7dd0835fdfcf (diff) | |
| download | portable-1cee3363decb5c59299e437ebcd400e2f7d8e318.tar.gz portable-1cee3363decb5c59299e437ebcd400e2f7d8e318.tar.bz2 portable-1cee3363decb5c59299e437ebcd400e2f7d8e318.zip | |
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.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/linux.yml | 9 |
1 files changed, 4 insertions, 5 deletions
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: | |||
| 23 | fail-fast: false | 23 | fail-fast: false |
| 24 | matrix: | 24 | matrix: |
| 25 | os: ["ubuntu-22.04", "ubuntu-24.04"] | 25 | os: ["ubuntu-22.04", "ubuntu-24.04"] |
| 26 | arch: ["native", "arm32", "arm64", "loong64", "mingw32", "mingw64", "mips64"] | 26 | arch: ["native", "arm32", "arm64", "mingw32", "mingw64", "mips64"] |
| 27 | compiler: ["gcc"] | 27 | compiler: ["gcc"] |
| 28 | include: | 28 | include: |
| 29 | - os: "ubuntu-22.04" | 29 | - os: "ubuntu-22.04" |
| @@ -32,14 +32,13 @@ jobs: | |||
| 32 | - os: "ubuntu-24.04" | 32 | - os: "ubuntu-24.04" |
| 33 | arch: "native" | 33 | arch: "native" |
| 34 | compiler: "clang" | 34 | compiler: "clang" |
| 35 | - os: "ubuntu-24.04" # loong64 | ||
| 36 | arch: "loong64" | ||
| 37 | compiler: "gcc" | ||
| 35 | steps: | 38 | steps: |
| 36 | - name: "Checkout repository" | 39 | - name: "Checkout repository" |
| 37 | uses: actions/checkout@v4 | 40 | uses: actions/checkout@v4 |
| 38 | 41 | ||
| 39 | - name: "Add universe repository" | ||
| 40 | if: matrix.arch == 'loong64' | ||
| 41 | run: sudo add-apt-repository universe | ||
| 42 | |||
| 43 | - name: "Run tests" | 42 | - name: "Run tests" |
| 44 | run: ./scripts/test | 43 | run: ./scripts/test |
| 45 | env: | 44 | env: |
