-
Notifications
You must be signed in to change notification settings - Fork 611
32 lines (27 loc) · 891 Bytes
/
linux.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
name: Linux
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-20.04
strategy:
matrix:
compiler: [clang, gcc]
tig_build: [autoconf, "config.make"]
include:
- name: Address Sanitizer
compiler: clang
tig_build: "address-sanitizer"
- name: Valgrind
compiler: gcc
tig_build: valgrind
steps:
- uses: actions/checkout@v2
- name: Test Tig
shell: 'script -q -e -c "sh {0}"' # Workaround to get a TTY, see https://github.com/gfx/example-github-actions-with-tty
run: |
set -ex
export LANG=en_US.utf8
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt -yq install --no-install-recommends \
asciidoc valgrind xmlto
CC=${{ matrix.compiler }} TIG_BUILD=${{ matrix.tig_build }} tools/travis.sh