File: linux.yml

package info (click to toggle)
tig 2.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,188 kB
  • sloc: ansic: 36,941; sh: 10,934; makefile: 394
file content (32 lines) | stat: -rw-r--r-- 892 bytes parent folder | download
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-latest

    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@v4
      - 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