Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test windows
Browse files Browse the repository at this point in the history
meynardc authored Dec 11, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f73a771 commit 5594ede
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion .github/workflows/build_mmvii.yml
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ on:

jobs:
build_linux:
if: false
runs-on: ubuntu-latest

steps:
@@ -49,5 +50,47 @@ jobs:
run: ./MMVII Bench 1



build_win:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
cache: true

- name: Configure CMake
run: cmake -B build -DWITH_CCACHE=OFF -DCMAKE_BUILD_TYPE=Release -DWITH_QT5=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}}

- name: Cache mm3d build
id: cache-mm3d
uses: actions/cache@v3
with:
path: |
lib/libelise.a
lib/libANN.a
bin/mm3d
key: ${{ runner.os }}-build-mm3d-${{ hashFiles('src/**/*.cpp','src/**/*.h','include/**/*.h','!src/util/GIT_defines.cpp') }}

- if: ${{ steps.cache-mm3d.outputs.cache-hit != 'true' }}
name: Build elise.lib and mm3d
run: cmake --build build --config Release --target INSTALL -j 4

- name: Configure CMake for MMVII
run: cmake -S MMVII -B MMVII/build -DCMAKE_BUILD_TYPE=Release

- name: Build MMVII first stage, build base code
run: cmake --build MMVII/build -j 4

- name: Generate codesfor Symbolic Derivatives
run: MMVII/bin/MMVII GenCodeSymDer

- name: Build MMVII second stage, build generated code
run: cmake --build MMVII/build -j 4

- name: Run MMVII Tests
working-directory: ./MMVII/bin
run: ./MMVII Bench 1

0 comments on commit 5594ede

Please sign in to comment.