Update build_mmvii.yml #8
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 Bin MMVII | |
on: | |
push: | |
branches: | |
- 'cm-build-*' | |
jobs: | |
build_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Qt | |
run: sudo apt install qtbase5-dev | |
- name: Cache mm3d build | |
id: cache-mm3d | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: | | |
lib/libelise.a | |
lib/libANN.a | |
bin/mm3d | |
key: ${{ runner.os }}-build-mm3d-${{ hashFiles('src/**/*.cpp','src/**/*.h','include/**/*.h') }} | |
- if: ${{ steps.cache-mm3d.outputs.cache-hit != 'true' }} | |
name: Configure CMake for mm3d | |
run: cmake -B build -DWITH_CCACHE=OFF -DCMAKE_BUILD_TYPE=Release -DWITH_QT5=ON | |
- if: ${{ steps.cache-mm3d.outputs.cache-hit != 'true' }} | |
name: Build elise.lib and mm3d | |
run: make -C build install -j 4 | |
- name: Configure CMake for MMVII | |
run: cmake -S MMVII -B MMVII/build -DCMAKE_BUILD_TYPE=Release | |
- name: Build MMVII first stage | |
run: cmake --build MMVII/build -j 4 | |
- name: Create generated code | |
run: MMVII/bin/MMVII GenCodeSymDer | |
- name: Build MMVII second stage | |
run: cmake --build MMVII/build -j 4 | |
- name: Run MMVII Tests | |
working-directory: ./MMVII/bin | |
run: ./MMVII Bench 2 | |