Skip to content

Commit 5910a30

Browse files
committed
Add CI workflow
1 parent 3ebbc89 commit 5910a30

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
release:
8+
types: [published]
9+
10+
jobs:
11+
build:
12+
name: Build against fooyin
13+
runs-on: ubuntu-latest
14+
container: archlinux:latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v6
19+
with:
20+
submodules: recursive
21+
22+
- name: Dependencies
23+
run: |
24+
pacman -Syu --noconfirm --needed \
25+
base-devel \
26+
cmake \
27+
git \
28+
ninja \
29+
fooyin
30+
31+
- name: Configure
32+
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
33+
34+
- name: Build
35+
run: cmake --build build --verbose
36+
37+
- name: Upload artifact
38+
uses: actions/upload-artifact@v6
39+
with:
40+
name: fooyin-plugin-libvgm
41+
path: build/fyplugin_vgminput.so

0 commit comments

Comments
 (0)