Skip to content

Commit 282a9b0

Browse files
committed
chore: add ci
1 parent fa0e031 commit 282a9b0

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
container:
9+
image: archlinux:latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Install dependencies
13+
run: |
14+
pacman -Syu --noconfirm
15+
pacman -S --noconfirm base-devel
16+
17+
- name: Build
18+
run: |
19+
cd arch/
20+
21+
# makepkg requires non-root user
22+
useradd builder
23+
chown -R builder:builder .
24+
25+
sudo -u builder makepkg -si --noconfirm

0 commit comments

Comments
 (0)