mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
fe730bce31
# Conflicts: # .github/workflows/ci-build.yml # .github/workflows/codeql.yml # .github/workflows/release-linux.yml # .github/workflows/release-macos.yml # .github/workflows/release-windows.yml # src/map.cpp # src/music/midifile.hpp # src/order_cmd.cpp # src/order_gui.cpp # src/pathfinder/yapf/yapf_rail.cpp # src/pbs.cpp # src/saveload/afterload.cpp # src/saveload/saveload.h # src/saveload/vehicle_sl.cpp # src/script/api/script_text.cpp # src/ship_cmd.cpp # src/train_cmd.cpp # src/vehicle.cpp # src/vehicle_base.h # src/vehicle_func.h # src/vehicle_gui.cpp # src/vehicle_gui_base.h # src/viewport.cpp # src/waypoint_cmd.cpp
85 lines
1.5 KiB
YAML
85 lines
1.5 KiB
YAML
name: CI - Nightly
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
ref:
|
|
description: 'Ref to build (for Pull Requests, use refs/pull/NNN/head)'
|
|
required: true
|
|
|
|
env:
|
|
CTEST_OUTPUT_ON_FAILURE: 1
|
|
|
|
jobs:
|
|
linux:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- name: GCC - SDL1.2
|
|
compiler: gcc
|
|
cxxcompiler: g++
|
|
libraries: libsdl1.2-dev
|
|
|
|
name: Linux (${{ matrix.name }})
|
|
|
|
uses: ./.github/workflows/ci-linux.yml
|
|
secrets: inherit
|
|
|
|
with:
|
|
compiler: ${{ matrix.compiler }}
|
|
cxxcompiler: ${{ matrix.cxxcompiler }}
|
|
libraries: ${{ matrix.libraries }}
|
|
extra-cmake-parameters:
|
|
|
|
macos:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- arch: x64
|
|
full_arch: x86_64
|
|
|
|
name: Mac OS (${{ matrix.arch }})
|
|
|
|
uses: ./.github/workflows/ci-macos.yml
|
|
secrets: inherit
|
|
|
|
with:
|
|
arch: ${{ matrix.arch }}
|
|
full_arch: ${{ matrix.full_arch }}
|
|
|
|
mingw:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- msystem: MINGW64
|
|
arch: x86_64
|
|
- msystem: MINGW32
|
|
arch: i686
|
|
|
|
name: MinGW (${{ matrix.arch }})
|
|
|
|
uses: ./.github/workflows/ci-mingw.yml
|
|
secrets: inherit
|
|
|
|
with:
|
|
msystem: ${{ matrix.msystem }}
|
|
arch: ${{ matrix.arch }}
|
|
|
|
check_annotations:
|
|
name: Check Annotations
|
|
needs:
|
|
- linux
|
|
- macos
|
|
- mingw
|
|
|
|
if: always()
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check annotations
|
|
uses: OpenTTD/actions/annotation-check@v5
|