mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-21 00:41:57 +09:00
[CI] (.github/workflows): run CI on cleanup as on feat/disaggregated
This commit is contained in:
@@ -11,6 +11,7 @@ on:
|
|||||||
# someone remembering to dispatch the workflow by hand.
|
# someone remembering to dispatch the workflow by hand.
|
||||||
- feat/disaggregated
|
- feat/disaggregated
|
||||||
- codex/fix-github-ci
|
- codex/fix-github-ci
|
||||||
|
- cleanup
|
||||||
# A docs-only push builds nothing this workflow tests (231 emulator legs per run). The Test
|
# A docs-only push builds nothing this workflow tests (231 emulator legs per run). The Test
|
||||||
# workflow keeps running for docs: it hosts the doc citation lint.
|
# workflow keeps running for docs: it hosts the doc citation lint.
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
@@ -41,7 +42,7 @@ jobs:
|
|||||||
CCACHE_MAXSIZE: 4G
|
CCACHE_MAXSIZE: 4G
|
||||||
CCACHE_NOHASHDIR: "true"
|
CCACHE_NOHASHDIR: "true"
|
||||||
MOBILEGL_CMAKE_COMPILER_LAUNCHER: ccache
|
MOBILEGL_CMAKE_COMPILER_LAUNCHER: ccache
|
||||||
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci') && 'ON' || 'OFF' }}
|
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
@@ -255,7 +256,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
env:
|
env:
|
||||||
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci') && 'ON' || 'OFF' }}
|
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }}
|
||||||
outputs:
|
outputs:
|
||||||
android: ${{ steps.trace-cases.outputs.android }}
|
android: ${{ steps.trace-cases.outputs.android }}
|
||||||
names: ${{ steps.trace-cases.outputs.names }}
|
names: ${{ steps.trace-cases.outputs.names }}
|
||||||
@@ -676,7 +677,7 @@ jobs:
|
|||||||
needs: retrace
|
needs: retrace
|
||||||
if: always()
|
if: always()
|
||||||
env:
|
env:
|
||||||
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci') && 'ON' || 'OFF' }}
|
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ on:
|
|||||||
# someone remembering to dispatch the workflow by hand.
|
# someone remembering to dispatch the workflow by hand.
|
||||||
- feat/disaggregated
|
- feat/disaggregated
|
||||||
- codex/fix-github-ci
|
- codex/fix-github-ci
|
||||||
|
- cleanup
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@@ -40,7 +41,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
env:
|
env:
|
||||||
BUILD_DIR: build-linux
|
BUILD_DIR: build-linux
|
||||||
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci') && 'ON' || 'OFF' }}
|
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }}
|
||||||
CCACHE_BASEDIR: ${{ github.workspace }}
|
CCACHE_BASEDIR: ${{ github.workspace }}
|
||||||
CCACHE_COMPRESS: "true"
|
CCACHE_COMPRESS: "true"
|
||||||
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||||
@@ -379,7 +380,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include: ${{ fromJSON((github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci') && '[{"lane":"monolith-control","transport":"monolith"},{"lane":"inproc-acceptance","transport":"inproc"}]' || '[{"lane":"monolith-control","transport":"monolith"}]') }}
|
include: ${{ fromJSON((github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && '[{"lane":"monolith-control","transport":"monolith"},{"lane":"inproc-acceptance","transport":"inproc"}]' || '[{"lane":"monolith-control","transport":"monolith"}]') }}
|
||||||
env:
|
env:
|
||||||
MOBILEGL_TRANSPORT: ${{ matrix.transport }}
|
MOBILEGL_TRANSPORT: ${{ matrix.transport }}
|
||||||
MOBILEGL_IPC_ROLE_SPLIT_STATE: "1"
|
MOBILEGL_IPC_ROLE_SPLIT_STATE: "1"
|
||||||
@@ -1412,7 +1413,7 @@ jobs:
|
|||||||
# scripts/link_ratchet.py and compared against the stored LIST.
|
# scripts/link_ratchet.py and compared against the stored LIST.
|
||||||
#
|
#
|
||||||
# THIS job and not `build-linux`: build-linux passes the same three options from
|
# THIS job and not `build-linux`: build-linux passes the same three options from
|
||||||
# ${MOBILEGL_CI_DISAGGREGATED}, which is ON only on feat/disaggregated and
|
# ${MOBILEGL_CI_DISAGGREGATED}, which is ON only on feat/disaggregated, cleanup and
|
||||||
# codex/fix-github-ci, so on every other branch it builds a monolith - MG_Remote would not
|
# codex/fix-github-ci, so on every other branch it builds a monolith - MG_Remote would not
|
||||||
# be compiled at all, the SERVER half of the partition would be empty, and the gate would
|
# be compiled at all, the SERVER half of the partition would be empty, and the gate would
|
||||||
# go green having measured nothing. This job turns the three options on unconditionally,
|
# go green having measured nothing. This job turns the three options on unconditionally,
|
||||||
@@ -2684,7 +2685,7 @@ jobs:
|
|||||||
name: trace case matrix
|
name: trace case matrix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci') && 'ON' || 'OFF' }}
|
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }}
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.trace-cases.outputs.matrix }}
|
matrix: ${{ steps.trace-cases.outputs.matrix }}
|
||||||
names: ${{ steps.trace-cases.outputs.names }}
|
names: ${{ steps.trace-cases.outputs.names }}
|
||||||
@@ -2946,7 +2947,7 @@ jobs:
|
|||||||
needs: [retrace]
|
needs: [retrace]
|
||||||
if: ${{ always() && needs.retrace.result != 'skipped' }}
|
if: ${{ always() && needs.retrace.result != 'skipped' }}
|
||||||
env:
|
env:
|
||||||
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci') && 'ON' || 'OFF' }}
|
MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
|
|||||||
Reference in New Issue
Block a user