File tree 2 files changed +12
-11
lines changed 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -20,28 +20,29 @@ jobs:
20
20
continue-on-error : false
21
21
strategy :
22
22
matrix :
23
- runner : [macos-11]
24
- compiler : [clang++, g++-11] # $(brew --prefix llvm)/bin/clang++ (clang-11)
25
- fortran_compiler : [gfortran-11]
23
+ runner : [macos-14]
24
+ compiler : [clang++]
26
25
27
26
steps :
28
27
- uses : actions/checkout@v2
29
28
- name : Install requirements
30
- run : python3 -m pip install numpy
29
+ run : >
30
+ python3 -m venv tastest && source ./tastest/bin/activate &&
31
+ python3 -m pip install pip --upgrade &&
32
+ python3 -m pip install numpy
31
33
- name : Build
32
34
run : >
35
+ source ./tastest/bin/activate &&
33
36
rm -rf build && mkdir -p build && cd build &&
34
37
cmake
35
38
-D CMAKE_INSTALL_PREFIX=./TasmanianInstall
36
39
-D CMAKE_CXX_FLAGS="-O3 -Wall -Wextra -Wshadow -pedantic"
37
40
-D CMAKE_CXX_COMPILER=${{ matrix.compiler }}
38
- -D CMAKE_Fortran_COMPILER=${{ matrix.fortran_compiler }}
39
- -D PYTHON_EXECUTABLE=/usr/local/bin/python3
40
- -D Tasmanian_ENABLE_FORTRAN=ON
41
+ -D Tasmanian_ENABLE_FORTRAN=OFF
41
42
-D Tasmanian_ENABLE_RECOMMENDED=ON
42
- -D Tasmanian_TESTS_OMP_NUM_THREADS=4 .. &&
43
- make -j4
43
+ -D Tasmanian_TESTS_OMP_NUM_THREADS=3 .. &&
44
+ make -j3
44
45
- name : Test
45
- run : cd build && ctest -j4 - V --no-compress-output -T Test
46
+ run : cd build && ctest -V --no-compress-output -T Test
46
47
- name : Install
47
48
run : cd build && make install && make test_install
Original file line number Diff line number Diff line change 27
27
steps :
28
28
- uses : actions/checkout@v2
29
29
- name : Install requirements
30
- run : python3 -m pip install numpy
30
+ run : python3 -m pip install numpy --user
31
31
- name : Build
32
32
run : >
33
33
rm -rf build && mkdir -p build && cd build &&
You can’t perform that action at this time.
0 commit comments