mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-11 11:21:38 -10:00
Workflow validation rejects empty container credentials, and secrets are empty on pull requests from forks, so job containers pull anonymously again. PS4-ORBIS keeps its guarded login step.
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
name: CI Linux (i686)
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
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:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
container:
|
|
image: reallibretroretroarch/libretro-build-i386-ubuntu:xenial-gcc9
|
|
options: --user root
|
|
|
|
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: 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
|