Skip to content

Commit 8ac1e1b

Browse files
authored
Create build.yml
1 parent 4c35f4a commit 8ac1e1b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: build
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
container:
11+
image: archlinux:latest
12+
13+
steps:
14+
- name: Full upgrade
15+
run: |
16+
echo "Server = https://mirror.moson.org/arch/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
17+
pacman -Syyu --noconfirm
18+
19+
- name: Install Dependencies
20+
run: |
21+
pacman -S vala meson libgee gtk3 json-glib --noconfirm
22+
23+
- uses: actions/checkout@v2
24+
- name: Build
25+
run: |
26+
arch-meson build
27+
meson compile -C build
28+
meson install -C build

0 commit comments

Comments
 (0)