ci version + package version #78
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: JMixtComp C++ Library | |
on: | |
push: | |
branches: | |
- master | |
- staging | |
paths: | |
- 'MixtComp/**' | |
- '!MixtComp/docs/**' | |
- 'JMixtComp/**' | |
- '.github/workflows/JMixtComp.yml' | |
- '!**/README.md' | |
pull_request: | |
branches: | |
- master | |
- staging | |
paths: | |
- 'MixtComp/**' | |
- '!MixtComp/docs/**' | |
- 'JMixtComp/**' | |
- '.github/workflows/JMixtComp.yml' | |
- '!**/README.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout MixtComp | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Install MixtComp dependencies | |
run: sudo apt-get install cmake libboost-all-dev libeigen3-dev libxml2-dev lcov valgrind | |
- name: Compile JMixtComp | |
working-directory: JMixtComp | |
run: ./build.sh Debug | |
- name: Test JMixtComp | |
working-directory: JMixtComp | |
run: ./utest.sh | |
- name: Run valgrind | |
working-directory: JMixtComp | |
run: ./valgrindRun.sh |