Files
RetroArch/.github/workflows/Compile-Matrix.yml
LibretroAdmin 18788f0c40 CI: run the mipsel lanes on ubuntu-24.04
Ubuntu 26.04 carries no MIPS cross toolchain, so on ubuntu-latest
apt-install.sh cannot resolve gcc-mipsel-linux-gnu and the compile
matrix and libretro-common test jobs fail before building anything.
Both jobs run on ubuntu-24.04, where the dingux mips lane and the
crypto suite under qemu-mipsel keep running.
2026-11-04 21:24:00 +01:00

68 lines
2.0 KiB
YAML

name: CI Compile Matrix [Codec Combinations]
on:
push:
branches:
- master
# ci_paths: generated by tools/ci_paths.py, do not edit
paths:
- '**'
- '!.github/workflows/*.yml'
- '.github/workflows/Compile-Matrix.yml'
# ci_paths: end
pull_request:
branches:
- master
# ci_paths: generated by tools/ci_paths.py, do not edit
paths:
- '**'
- '!.github/workflows/*.yml'
- '.github/workflows/Compile-Matrix.yml'
# ci_paths: end
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
compile-matrix: # every codec combination real builds select, not just this one
# Ubuntu 26.04 ships no MIPS cross toolchain; the mipsel lanes
# need 24.04's gcc-mipsel-linux-gnu.
runs-on: ubuntu-24.04
env:
APT_PKGS: build-essential libgl-dev libegl-dev libgles-dev libsdl1.2-dev gcc-mingw-w64-x86-64 clang gcc-aarch64-linux-gnu gcc-mipsel-linux-gnu libdrm-dev libgbm-dev
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Apt cache key
id: apt
run: sh .github/workflows/scripts/apt-cache-key.sh "$APT_PKGS"
- name: Restore apt cache
uses: actions/cache/restore@v4
with:
path: ~/.apt-cache
key: ${{ steps.apt.outputs.key }}
restore-keys: ${{ steps.apt.outputs.prefix }}
- name: Install dependencies
timeout-minutes: 20
run: sh .github/workflows/scripts/apt-install.sh $APT_PKGS
- name: Save apt cache
if: env.APT_CACHE_SAVE == '1'
uses: actions/cache/save@v4
with:
path: ~/.apt-cache
key: ${{ steps.apt.outputs.key }}
- name: Link with lld
run: sh .github/workflows/scripts/use-lld.sh
- name: Compile matrix
run: ./.github/workflows/scripts/compile-matrix.sh