mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 07:13:07 +01:00
Add code format check to GitHub CI
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -1,8 +1,17 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
jobs:
|
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:
|
build-appimage:
|
||||||
name: Build AppImage
|
name: Linux (x64, AppImage)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: openrct2/openrct2:ubuntu_amd64
|
image: openrct2/openrct2:ubuntu_amd64
|
||||||
|
|||||||
Reference in New Issue
Block a user