mirror of
https://github.com/zeldaret/af.git
synced 2026-09-26 13:33:16 -04:00
25843830a9
* 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 * Round of fixes (#247) * Round of fixes * Set WARNINGS_CHECK environment variable in CI * Update .github/workflows/ci.yml Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> --------- Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
23 lines
458 B
YAML
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
|