Add signature file for VBA projects (2nd try) #97
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: Build with CMake | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: | |
Cmake | |
strategy: | |
matrix: | |
cc: [gcc, clang] | |
cmake_flags: ["", | |
"-DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON", | |
"-DUSE_DTOA_LIBRARY=ON -DBUILD_TESTS=ON", | |
"-DUSE_MEM_FILE=ON -DBUILD_TESTS=ON", | |
"-DUSE_NO_MD5=ON -DBUILD_TESTS=ON", | |
"-DUSE_OPENSSL_MD5=ON -DBUILD_TESTS=ON", | |
"-DUSE_STANDARD_TMPFILE=ON -DBUILD_TESTS=ON", | |
"-DUSE_SYSTEM_MINIZIP=ON -DBUILD_TESTS=ON", | |
"-DUSE_SYSTEM_MINIZIP=ON -DUSE_OPENSSL_MD5=ON -DBUILD_TESTS=ON"] | |
runs-on: ubuntu-latest | |
env: | |
CC: ${{ matrix.cc }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
sudo apt-get -y install zlib1g-dev | |
sudo apt-get -y install libminizip-dev | |
sudo apt-get -y install libssl-dev | |
- name: Configure CMake | |
working-directory: ${{ github.workspace }}/cmake | |
run: cmake .. -DBUILD_TESTS=ON ${{ matrix.cmake_flags }} -DCMAKE_BUILD_TYPE=Release | |
- name: Build | |
working-directory: ${{ github.workspace }}/cmake | |
run: cmake --build . --config Release --parallel | |
- name: Test | |
working-directory: ${{ github.workspace }}/cmake | |
run: ctest -C Release -V |