mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-07 08:36:02 -10:00
Since ubuntu-latest moved to 26.04, CI Linux (i686) stops at checkout: git fetch cannot resolve github.com from the 32-bit xenial image, ten tries in a row, and the public resolvers the job passes with --dns do not change that. The 64-bit container jobs on the same runners check out and build. The job goes back to ubuntu-24.04, where it last passed, like the mipsel lanes.
78 lines
2.4 KiB
YAML
78 lines
2.4 KiB
YAML
name: CI Linux (i686)
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
# ci_paths: generated by tools/ci_paths.py, do not edit
|
|
paths:
|
|
- '**'
|
|
- '!.github/workflows/*.yml'
|
|
- '.github/workflows/Linux.yml'
|
|
# ci_paths: end
|
|
pull_request:
|
|
# ci_paths: generated by tools/ci_paths.py, do not edit
|
|
paths:
|
|
- '**'
|
|
- '!.github/workflows/*.yml'
|
|
- '.github/workflows/Linux.yml'
|
|
# ci_paths: end
|
|
repository_dispatch:
|
|
types: [run_build]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
|
|
|
jobs:
|
|
build:
|
|
# The 32-bit xenial image resolves no host on an Ubuntu 26.04 runner,
|
|
# public resolvers or not: since ubuntu-latest moved, its runs stop at
|
|
# checkout. The other container jobs, all 64-bit, are unaffected.
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 30
|
|
container:
|
|
image: reallibretroretroarch/libretro-build-i386-ubuntu:xenial-gcc9
|
|
options: --user root --dns 1.1.1.1 --dns 8.8.8.8
|
|
|
|
steps:
|
|
- name: Check Out Repo
|
|
uses: taiki-e/checkout-action@v1
|
|
|
|
- name: Configure Build
|
|
run: |
|
|
./configure --disable-qt --enable-xdelta
|
|
|
|
- name: Include order
|
|
run: |
|
|
# The tree's own headers are found before same-named ones in the
|
|
# system include dirs configure or pkg-config put on the line.
|
|
sh tools/include_order_check.sh
|
|
|
|
- name: Compile RA
|
|
run: |
|
|
make -j$(getconf _NPROCESSORS_ONLN) clean
|
|
make -j$(getconf _NPROCESSORS_ONLN) info all
|
|
|
|
- name: Hidden symbol check
|
|
run: |
|
|
# libretro-common's MD5 and krb5 keep their system namesakes'
|
|
# names; exported, libssl and cores bind to them.
|
|
.github/workflows/scripts/hidden-symbols-check.sh
|
|
|
|
- name: Stack frame sweep
|
|
run: |
|
|
set -eu
|
|
# Every stack frame in the graphics objects against the
|
|
# ceiling in CODING-GUIDELINES. It runs here rather than with
|
|
# the other checks because this is the job that builds the
|
|
# drivers: the menu harness turns OpenGL, Vulkan and the rest
|
|
# off for its own reasons, and the frames this sweep is for
|
|
# live in exactly those files.
|
|
.github/workflows/scripts/stack-frame-sweep.sh
|