Skip to content

Commit

Permalink
Add CI test for static library build.
Browse files Browse the repository at this point in the history
  • Loading branch information
drmpeg committed Dec 1, 2020
1 parent 32b0f92 commit fc7adac
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,25 @@ jobs:
- name: test
run: cd build && ctest -V

build-ubuntu-static:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: dependencies
run: sudo apt install python3-mako liborc-dev
- name: Checkout submodules
uses: srt32/[email protected]
with:
args: git submodule update --init --recursive
- name: configure
run: mkdir build && cd build && cmake -DENABLE_STATIC_LIBS=True ..
- name: build
run: cmake --build build
- name: test
run: cd build && ctest -V

build-windows:

runs-on: windows-latest
Expand Down Expand Up @@ -55,4 +74,4 @@ jobs:
- name: build
run: cmake --build build --config Debug
- name: test
run: cd build && ctest -V
run: cd build && ctest -V

0 comments on commit fc7adac

Please sign in to comment.