181 generic plugin unpacker #124
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: unit testing | |
on: | |
push: | |
branches: [ release, main, dev ] | |
workflow_dispatch: | |
pull_request: | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
BUILD_TYPE: RelWithDebInfo | |
jobs: | |
testing-win: | |
runs-on: [windows-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Configure CMake testing | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_TESTS=true | |
- name: Build testing | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | |
- name: Run tests | |
run: ctest --test-dir ${{github.workspace}}/build --output-on-failure | |
# testing-ubuntu: | |
# runs-on: [ubuntu-latest] | |
# env: | |
# CC: gcc-10 | |
# CXX: g++-10 | |
# steps: | |
# - uses: actions/checkout@v2 | |
# with: | |
# submodules: recursive | |
# - name: Update | |
# run: sudo apt-get update | |
# - name: Install libx11-dev | |
# run: sudo apt-get install libx11-dev | |
# - name: GCC & G++ multilib | |
# run: sudo apt-get install g++-multilib gcc-multilib -y | |
# - name: Configure CMake testing | |
# run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_TESTS=true | |
# - name: Build testing | |
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | |
# - name: Run tests | |
# run: ctest --test-dir ${{github.workspace}}/build --output-on-failure |