Skip to content

Commit 93609bf

Browse files
blucamrc0mmand
authored andcommitted
ci: switch to Github Actions
Travis has been dead for a long time
1 parent ef042f6 commit 93609bf

2 files changed

Lines changed: 38 additions & 31 deletions

File tree

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
unit-test:
13+
runs-on: ubuntu-22.04
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ toJSON(matrix.env) }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
env:
21+
- { CC: "gcc", CFLAGS: "-fno-omit-frame-pointer -fsanitize=undefined,address -ggdb3 -Og -fvar-tracking-assignments" }
22+
- { CC: "clang", CFLAGS: "-fno-omit-frame-pointer -fsanitize=undefined,address -ggdb3 -Og" }
23+
env: ${{ matrix.env }}
24+
steps:
25+
- uses: actions/checkout@v3
26+
27+
- name: Install dependencies
28+
run: |
29+
sudo apt-get update
30+
sudo apt-get install intltool gcc llvm clang
31+
32+
- name: ${{ format('Build check ({0})', env.CC) }}
33+
run: |
34+
./autogen.sh
35+
./configure --without-libsystemd --disable-man || cat config.log
36+
make -j
37+
make -j -k check
38+

.travis.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)