summaryrefslogtreecommitdiff
path: root/.github/workflows/build-test.yml
blob: 2e3df9c3cccb62671ed6dc11a94cce8ef5b2e445 (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/Test/Dist CI

on: [push]

jobs:
  build:

    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
      run: cd test && ./runtests

    - name: make dist
      run: make dist

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

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

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

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