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:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user