ci: Split out non-release CI jobs into separate workflows. (#7001)

This commit is contained in:
Steveice10 2023-09-22 09:15:47 -07:00 committed by GitHub
parent 003a4ec09b
commit 270d3eb7eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 27 deletions

22
.github/workflows/format.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: citra-format
on:
push:
branches: [ "*" ]
pull_request:
branches: [ master ]
jobs:
clang-format:
runs-on: ubuntu-latest
container:
image: citraemu/build-environments:linux-fresh
options: -u 1001
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build
env:
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
run: ./.ci/clang-format.sh