Files
af/.github/workflows/format.yml
T
Anghelo Carvajal 571836c50b Changes the CI system from Jenkins to Github Actions (GHA) like we did for OoT and MM (#246)
I tried to adapt the original jenkinsfile as I could.
One major difference is loosing progress reporting to frogress. frogress is currently deprecated in favor of decomp.dev, and I would like we migrate to decomp.dev somewhat soon, so this should be a big problem.

The mapfiles will be uploaded as an GHA artifact to the Action workflow.

This specific approach to handle GHA for decomp projects was adapted from the one used by the GC/Wii community. It is documented here https://github.com/encounter/dtk-template/blob/main/docs/github_actions.md There's a writeup about this adaptation for N64 projects [here](https://github.com/AngheloAlf/drmario64/pull/19).

Also relevant implementations for OoT and MM:
- https://github.com/zeldaret/oot/pull/2742
- https://github.com/zeldaret/mm/pull/1885
2026-08-05 10:54:15 -07:00

23 lines
458 B
YAML

name: Check format
# Build on every branch push, tag push, and pull request change:
on:
push:
pull_request:
jobs:
build:
name: Check format
runs-on: ubuntu-latest
steps:
- name: Checkout reposistory
uses: actions/checkout@v7
- name: Install package requirements
run: |
sudo apt-get install -y python3 clang-format-14 clang-tidy-14
- name: Check formatting
run: tools/check_format.sh