Skip to content

Commit 1d25b34

Browse files
authored
.github/workflows: Build GLICT on push.
1 parent 42fd49b commit 1d25b34

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/c-cpp.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: C/C++ CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: install deps
17+
run: sudo apt-get update && sudo apt-get install libsdl1.2-dev libsdl-gfx1.2-dev autoconf automake libgl1-mesa-dev libglu1-mesa-dev
18+
- name: autogen
19+
run: cd glict && ./autogen.sh
20+
- name: configure
21+
run: cd glict && ./configure
22+
- name: make
23+
run: cd glict && make
24+
- name: make check
25+
run: cd glict && make check
26+
# TODO: enable distcheck once unbroken (currently breaks on an attempt to #include using <system/style.h> includes).
27+
#- name: make distcheck
28+
# run: cd glict && make distcheck

0 commit comments

Comments
 (0)