-
Notifications
You must be signed in to change notification settings - Fork 55
57 lines (39 loc) · 1005 Bytes
/
build_gnulinux.yml
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
53
54
55
56
57
name: GNU/Linux build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install libx11-dev libxi-dev libxtst-dev
- name: configure
run: ./configure
- name: build
run: make
- name: stage install
run: DESTDIR=spacenavd-gnulinux make install
- uses: actions/upload-artifact@v4
with:
name: spacenavd-gnulinux
path: spacenavd-gnulinux
build-nox11:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: configure
run: ./configure --disable-x11
- name: build
run: make
- name: stage install
run: DESTDIR=spacenavd-gnulinux-nox11 make install
- uses: actions/upload-artifact@v4
with:
name: spacenavd-gnulinux-nox11
path: spacenavd-gnulinux-nox11
# vi:ts=2 sts=2 sw=2 expandtab: