-
Notifications
You must be signed in to change notification settings - Fork 71
37 lines (37 loc) · 1.02 KB
/
build.yaml
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
name: build
on: [push, pull_request]
jobs:
build-deb:
strategy:
matrix:
container: ['ubuntu:jammy', 'ubuntu:noble', 'debian:bookworm']
runs-on: ubuntu-latest
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- run: apt-get update
- run: apt-get install -y build-essential pkg-config libx11-dev libgoogle-glog-dev
- run: make
- run: ls -lh ./basic_wm
build-rpm:
strategy:
matrix:
container: ['fedora:latest']
runs-on: ubuntu-latest
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- run: yum install -y make gcc gcc-c++ libX11-devel glog-devel
- run: make
- run: ls -lh ./basic_wm
build-arch:
strategy:
matrix:
container: ['archlinux:latest']
runs-on: ubuntu-latest
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- run: pacman -Sy --noconfirm base-devel libx11 google-glog
- run: make
- run: ls -lh ./basic_wm