Bump version number post-release #85
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: C/C++ CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install dependencies | |
run: sudo apt-get install -y cmake check | |
- name: configure cmake | |
run: cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DENABLE_TESTS=OFF -B./build -G "Unix Makefiles" | |
- name: build with cmake | |
run: cmake --build ./build --config Debug --target all | |
- name: Generate packages with CPack | |
run: make package | |
working-directory: ./build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
path: build | |
test: | |
runs-on: ubuntu-22.04 | |
needs: build | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v3 | |
with: | |
name: build | |
path: build | |
- name: install dependencies | |
run: sudo apt-get install check | |
- name: configure | |
run: cmake .. -DENABLE_TESTS=ON | |
working-directory: ./build | |
- name: make | |
run: make | |
working-directory: ./build | |
- name: make test | |
run: make test | |
working-directory: ./build |