-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (39 loc) · 1.35 KB
/
check-spec-magix3d.yml
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
name: Check spec magix3d
on:
push:
branches:
- main
paths:
- '**/package.py'
pull_request:
branches:
- main
paths:
- '**/package.py'
jobs:
Continuous:
name: ${{ matrix.config }}
# The CMake configure and build commands are platform agnostic and should work equally
# well on Linux, Windows or Mac.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2 # seems to be needed by codecov
submodules: recursive
- name: Initialize the environement
shell: bash
run: |
git clone --depth=1 -b releases/latest https://github.com/spack/spack.git ${{github.workspace}}/spack
source ${{github.workspace}}/spack/share/spack/setup-env.sh
spack repo add ${{github.workspace}}/meshing
spack repo add ${{github.workspace}}/meshing_supersede
- name: Check Spack spec
# We create a subdirectory that will stand as our working directory for all
# subsequent commands
run: |
source ${{github.workspace}}/spack/share/spack/setup-env.sh
spack spec magix3d~smooth3d~pythonaddon+doc ^vtk-maillage~opengl2+qt ^qt+opengl