Skip to content

Commit

Permalink
Add build check (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kewlan committed Jan 8, 2023
1 parent a14bf45 commit 34fab6a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 16 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: OoT3DR Checks

on:
pull_request:

jobs:
format:
name: Verify Formatting
runs-on: ubuntu-latest

steps:
- name: Checkout Project
uses: actions/checkout@v3

- name: Format Project
uses: DoozyX/[email protected]
with:
source: "./code ./source"
extensions: 'c,h,cpp,hpp'
clangFormatVersion: 14

build:
name: Confirm Compilable
runs-on: ubuntu-latest
container:
image: ghcr.io/z3dr/randotools:latest

steps:
- name: Checkout Project
uses: actions/checkout@v3

- name: Compile Project
run: make -j
16 changes: 0 additions & 16 deletions .github/workflows/clang_format_check.yml

This file was deleted.

0 comments on commit 34fab6a

Please sign in to comment.