1 Commits

Author SHA1 Message Date
RuiFPB 88d6e25f1a Update format check workflow
PR build check / Build (pull_request) Has been cancelled
PR C++ format check / Check clang format (pull_request) Failing after 3s
2026-06-11 01:10:41 +01:00
3 changed files with 18 additions and 16 deletions
+12 -12
View File
@@ -25,24 +25,24 @@ jobs:
- name: Compile engine - name: Compile engine
run: | run: |
make clean all -j4 -C engine make clean all -C engine
- name: Compile tutorials - name: Compile tutorials
run: | run: |
make clean all -j4 -C tutorials/01-hello make clean all -C tutorials/01-hello
make clean all -j4 -C tutorials/02-sprite make clean all -C tutorials/02-sprite
make clean all -j4 -C tutorials/03-minecraft make clean all -C tutorials/03-minecraft
make clean all -j4 -C tutorials/04-de_dust2 make clean all -C tutorials/04-de_dust2
make clean all -j4 -C tutorials/05-animation make clean all -C tutorials/05-animation
make clean all -j4 -C tutorials/06-audio make clean all -C tutorials/06-audio
make clean all -j4 -C tutorials/07-lighting make clean all -C tutorials/07-lighting
make clean all -j4 -C tutorials/08-skybox-debug make clean all -C tutorials/08-skybox-debug
make clean all -j4 -C tutorials/09-manual-mode make clean all -C tutorials/09-manual-mode
make clean all -j4 -C tutorials/10-sprite-sheet make clean all -C tutorials/10-sprite-sheet
- name: Compile demo - name: Compile demo
run: | run: |
make clean all -j4 -C demo make clean all -C demo
- name: Get short SHA - name: Get short SHA
id: slug id: slug
+5 -3
View File
@@ -25,12 +25,14 @@ jobs:
check-format: check-format:
name: Check clang format name: Check clang format
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps: steps:
- name: Install Node
run: |
apt-get update -y
apt-get install -y nodejs
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.18 - uses: DoozyX/clang-format-lint-action@v0.12
with: with:
source: '.' source: '.'
extensions: 'hpp, cpp, h' extensions: 'hpp, cpp, h'