summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMartin Matuska <martin@matuska.org>2019-09-10 17:15:47 +0200
committerMartin Matuska <martin@matuska.org>2019-09-10 17:15:47 +0200
commitcf95c9701b18b1fa1f0ea3a6bef4fe72c47dd2db (patch)
treecb397a2658b6db95a67fa48bff7a8c29e9b9291e /.github
parent457f7eec3cd80502fe1da622f42021768bd8bc23 (diff)
downloadlibarchive-cf95c9701b18b1fa1f0ea3a6bef4fe72c47dd2db.tar.gz
Github Actions: update to matrix build with autotools and cmake
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8c68ee04..11fa1b6b 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 }}