|
@@ -1,24 +1,24 @@
|
|
name: Test Verification
|
|
name: Test Verification
|
|
|
|
|
|
-on: [push]
|
|
|
|
-
|
|
|
|
|
|
+on:
|
|
|
|
+ push:
|
|
|
|
+ branches:
|
|
|
|
+ - master
|
|
jobs:
|
|
jobs:
|
|
-
|
|
|
|
- build:
|
|
|
|
-
|
|
|
|
|
|
+ build-ubuntu:
|
|
|
|
+ name: Build and Test Ubuntu Latest
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
-
|
|
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/checkout@v1
|
|
- name: Init submodules
|
|
- name: Init submodules
|
|
run: git submodule update --init --recursive
|
|
run: git submodule update --init --recursive
|
|
- - name: Build the Docker image
|
|
|
|
|
|
+ - name: Build the Ubuntu Latest Docker image
|
|
run: docker build . --file .ci/Dockerfile.ubuntu --tag ubuntu_debugimage:latest
|
|
run: docker build . --file .ci/Dockerfile.ubuntu --tag ubuntu_debugimage:latest
|
|
- name: Run tests
|
|
- name: Run tests
|
|
run: docker run ubuntu_debugimage:latest ctest /build --output-on-failure
|
|
run: docker run ubuntu_debugimage:latest ctest /build --output-on-failure
|
|
#build-windows:
|
|
#build-windows:
|
|
#runs-on: windows-latest
|
|
#runs-on: windows-latest
|
|
-
|
|
|
|
|
|
+ #name: Build and Test Windows
|
|
#steps:
|
|
#steps:
|
|
#- uses: actions/checkout@v1
|
|
#- uses: actions/checkout@v1
|
|
#- name: Init submodules
|
|
#- name: Init submodules
|