Skip to content

Commit

Permalink
ci: switch to Github Actions
Browse files Browse the repository at this point in the history
Travis has been dead for a long time
  • Loading branch information
bluca authored and mrc0mmand committed Aug 28, 2023
1 parent ef042f6 commit 93609bf
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 31 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
unit-test:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ toJSON(matrix.env) }}-${{ github.ref }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
env:
- { CC: "gcc", CFLAGS: "-fno-omit-frame-pointer -fsanitize=undefined,address -ggdb3 -Og -fvar-tracking-assignments" }
- { CC: "clang", CFLAGS: "-fno-omit-frame-pointer -fsanitize=undefined,address -ggdb3 -Og" }
env: ${{ matrix.env }}
steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install intltool gcc llvm clang
- name: ${{ format('Build check ({0})', env.CC) }}
run: |
./autogen.sh
./configure --without-libsystemd --disable-man || cat config.log
make -j
make -j -k check
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

0 comments on commit 93609bf

Please sign in to comment.