Skip to content

Commit

Permalink
actions: build static step
Browse files Browse the repository at this point in the history
  • Loading branch information
gonsie committed Feb 14, 2022
1 parent 2f49de3 commit e5db75b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest, macos-10.15]
os: [ubuntu-latest, macos-latest]
target: [Debug, Release]

name: ${{ matrix.os }}-${{ matrix.target }}
Expand All @@ -38,9 +38,14 @@ jobs:
with:
component: kvtree

- name: build static
uses: ecp-veloc/github-actions/cmake-build-static@main
with:
component: shuffile
target: ${{ matrix.target }}

- name: build and test
uses: ecp-veloc/github-actions/cmake-build@main
uses: ecp-veloc/github-actions/cmake-build-only@main
with:
component: shuffile
target: ${{ matrix.target }}
cmake_line: "-DBUILD_SHARED_LIBS=ON -DSHUFFILE_LINK_STATIC=ON"

0 comments on commit e5db75b

Please sign in to comment.