-
-
Notifications
You must be signed in to change notification settings - Fork 34
34 lines (30 loc) · 836 Bytes
/
c-cpp.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
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: update packages
run: sudo apt-get update
- name: install dependencies
run: >
sudo apt-get install -qq autotools-dev autoconf-archive pkg-config
libkpathsea-dev libfreetype6-dev libgs-dev libz-dev texlive-base
python-is-python3 python3-lxml asciidoc xmlto xsltproc
- name: autogen
run: autoreconf -fi
- name: configure
run: ./configure --enable-bundled-libs
- name: make clean
run: make clean
- name: make
run: make -j
- name: update timestamps
run: make -C src -t
- name: make check
run: make -j check