-
Notifications
You must be signed in to change notification settings - Fork 8
72 lines (50 loc) · 1.64 KB
/
Copy pathwindows-msvc.yml
File metadata and controls
72 lines (50 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: windows-msvc
permissions:
actions: write
on:
pull_request:
branches:
- main
- dev
jobs:
builds-and-tests:
runs-on: windows-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: getcmake
uses: lukka/get-cmake@latest
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
# - name: Builds mfem-geg
# run: |
# cmake -S external/mfem-geg -B mfem-geg-build/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=mfem-geg-install -G Ninja
# cmake --build mfem-geg-build/ -j --config Release
# cmake --install mfem-geg-build/ --config Release
- name: Builds semba/dgtd
uses: lukka/run-cmake@v10.8
env:
MFEM_DIR: 'mfem-geg-install/lib/cmake/mfem/'
with:
configurePreset: 'x64-Release'
buildPreset: 'x64-Release'
buildPresetAdditionalArgs: "['--parallel']"
- name: Verify test files exist
run: dir build/x64-Release/bin/
- name: Run maxwell mfem tests
run: build/x64-Release/bin/mfem_tests.exe
- name: Run hesthaven comparison tests
run: build/x64-Release/bin/hesthavenComparison_tests.exe
- name: Run maxwell tests
run: build/x64-Release/bin/maxwell_tests.exe
- name: Run maxwell solver tests
run: build/x64-Release/bin/maxwell_solver_tests.exe
- name: Run cases tests
run: build/x64-Release/bin/cases_tests.exe
# - name: Run system tests
# run: |
# build/gnu/bin/rcs_tests