Imported Upstream version 2.6.1
[platform/upstream/cryptsetup.git] / .github / workflows / cibuild.yml
1 name: Build test
2 on:
3   push:
4     branches:
5       - 'main'
6       - 'wip-luks2'
7       - 'v2.3.x'
8       - 'v2.4.x'
9     paths-ignore:
10       - 'docs/**'
11
12 jobs:
13   build:
14     runs-on: ubuntu-latest
15     if: github.repository == 'mbroz/cryptsetup'
16     strategy:
17       fail-fast: false
18       matrix:
19         env:
20           - { COMPILER: "gcc", COMPILER_VERSION: "11",  RUN_SSH_PLUGIN_TEST: "1" }
21     env: ${{ matrix.env }}
22     steps:
23       - name: Repository checkout
24         uses: actions/checkout@v1
25       - name: Ubuntu setup
26         run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
27       - name: Configure & Make
28         run: .github/workflows/cibuild.sh CONFIGURE MAKE
29       - name: Check
30         run: sudo -E .github/workflows/cibuild.sh CHECK