summaryrefslogtreecommitdiffstats
path: root/.github/workflows/linux-build.yml
blob: db46cfdbeaa9aebc230dbafc0ec90a46cda0a9c5 (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
name: Linux Build and Test
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Configure
        working-directory: unix
        run: |
          mkdir "${HOME}/install dir"
          ./configure ${CFGOPT} "--prefix=$HOME/install dir" || (cat config.log && exit 1)
      - name: Build
        working-directory: unix
        run: |
          make all
      - name: Build Test Harness
        working-directory: unix
        run: |
          make tcltest
      - name: Run Tests
        working-directory: unix
        run: |
          make test
      - name: Test-Drive Installation
        working-directory: unix
        run: |
          make install
      - name: Create Distribution Package
        working-directory: unix
        run: |
          make dist
      - name: Convert Documentation to HTML
        working-directory: unix
        run: |
          make html-tcl