From: Martin Matuska Date: Tue, 10 Sep 2019 15:15:47 +0000 (+0200) Subject: Github Actions: update to matrix build with autotools and cmake X-Git-Tag: v3.4.1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf95c9701b18b1fa1f0ea3a6bef4fe72c47dd2db;p=thirdparty%2Flibarchive.git Github Actions: update to matrix build with autotools and cmake --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c68ee041..11fa1b6b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,19 +6,32 @@ 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 libssl-dev libacl1-dev libbz2-dev liblzma-dev libzip-dev liblz4-dev libzstd-dev lzop + 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 }}