1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Add code format check to GitHub CI

This commit is contained in:
Ted John
2019-10-31 00:03:05 +00:00
committed by Ted John
parent 868a2793e5
commit 00b0b6dc0f

View File

@@ -1,8 +1,17 @@
name: CI
on: [push]
on: [push, pull_request]
jobs:
check-code-formatting:
name: Check code formatting
runs-on: ubuntu-latest
container:
image: openrct2/openrct2:format
steps:
- uses: actions/checkout@v1
- name: Run clang-format
run: scripts/run-clang-format.py -r src test --exclude src/openrct2/thirdparty
build-appimage:
name: Build AppImage
name: Linux (x64, AppImage)
runs-on: ubuntu-latest
container:
image: openrct2/openrct2:ubuntu_amd64