-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (50 loc) · 1.23 KB
/
ci.yml
File metadata and controls
52 lines (50 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI
on:
push:
branches:
- "master"
tags:
- "v*"
pull_request:
branches:
- "master"
jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
clang-format:
name: clang-format
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: clang-format
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: "14"
check-path: "common ppc"
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build GameCube
run: ./build_docker.sh gamecube
- name: Build Wii
run: ./build_docker.sh wii
- name: Upload GameCube artifact
uses: actions/upload-artifact@v3
with:
name: gc-controller-test-gamecube.dol
path: gc-controller-test-gamecube.dol
- name: Upload Wii artifact
uses: actions/upload-artifact@v3
with:
name: gc-controller-test-wii.dol
path: gc-controller-test-wii.dol