summaryrefslogtreecommitdiff
path: root/.github/workflows/build-test.yml
blob: 865bb2d56e771ad36adcc8920de3dd3ad4173d3f (plain)
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
35
36
37
38
name: build, make-dist, test

on: [push]

jobs:
  main:

    runs-on: self-hosted
    
    steps:
    - uses: actions/checkout@v1

    - name: autogen
      run: ./autogen.sh

    - name: configure
      run: ./configure --disable-manual

    - name: make
      run: make

    - name: test the checked-out source
      run: cd test && ./runtests

    - name: make dist
      run: make dist

    - name: unpack
      run: mkdir unpack && tar -C unpack -zxvf colm-*.tar.gz

    - name: configure the dist
      run: cd unpack/colm-* && ./configure --disable-manual

    - name: make from the dist
      run: cd unpack/colm-* && make

    - name: test the dist
      run: cd unpack/colm-*/test && ./runtests