Skip to content

Commit

Permalink
Update build_mmvii.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
meynardc authored Dec 11, 2023
1 parent ccd2843 commit 1583a04
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/build_mmvii.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,25 @@ jobs:
- name: Install Qt
run: sudo apt install qtbase5-dev

- name: Configure CMake for mm3d
- name: Cache mm3d build
id: cache-mm3d
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: |
micmac/lib/libelise.a
micmac/lib/libANN.a
micmac/bin/mm3d
key: ${{ runner.os }}-build-mm3d
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}

- 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

- name: Build elise.lib and mm3d
- 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
Expand Down

0 comments on commit 1583a04

Please sign in to comment.