mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-27 20:53:39 +02:00
.github/workflows/CI.yml: build and run tests.
This commit is contained in:
parent
dbbdc896e1
commit
8764ecc4c1
1 changed files with 5 additions and 1 deletions
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
|
|
@ -30,12 +30,16 @@ jobs:
|
||||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||||
SSL_OPTS="-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1"
|
SSL_OPTS="-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1"
|
||||||
fi
|
fi
|
||||||
cmake ${SSL_OPTS} -B build
|
cmake -DENABLE_TESTING=ON ${SSL_OPTS} -B build
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build build
|
run: cmake --build build
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
shell: bash
|
||||||
|
run: ctest --verbose --test-dir build -C Debug
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue