aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
blob: 11fa1b6b8464e3f115d5e152b377ca3fa391e1d5 (plain) (blame)
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: Ubuntu

on: [push, pull_request]

jobs:
  Build-and-test:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        bs: [autotools, cmake]
    
    steps:
    - uses: actions/checkout@master
    - name: Install dependencies
      run: sudo apt-get install -y build-essential cmake libssl-dev libacl1-dev libbz2-dev liblzma-dev libzip-dev liblz4-dev libzstd-dev lzop
    - name: Autogen
      run: ./build/ci/build.sh -a autogen
      env:
        BS: ${{ matrix.bs }}
    - name: Configure
      run: ./build/ci/build.sh -a configure
      env:
        BS: ${{ matrix.bs }}
    - name: Build
      run: ./build/ci/build.sh -a build
      env:
        BS: ${{ matrix.bs }}
    - name: Test
      run: ./build/ci/build.sh -a test
      env:
        BS: ${{ matrix.bs }}
    - name: Install
      run: ./build/ci/build.sh -a install
      env:
        BS: ${{ matrix.bs }}