File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed
Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 3333
3434 - name : Build
3535 shell : ${{inputs.shell}}
36- run : cmake --build ${{github.workspace}}/build --config Release -j8
36+ run : cmake --build ${{github.workspace}}/build --config Release -j88
3737
3838 - name : pytest
3939 shell : ${{inputs.shell}}
Original file line number Diff line number Diff line change 55 using : " composite"
66 steps :
77 - name : Setup conda
8- uses : conda-incubator/setup-miniconda@v2
8+ uses : conda-incubator/setup-miniconda@v3
99 with :
10- auto-update-conda : true
11- auto-activate-base : false
10+ miniconda-version : " latest"
1211 activate-environment : test
1312 environment-file : test/pytest/environment.yml
14- python-version : 3.9
1513
1614 - name : Activate Env
1715 shell : bash -l {0}
2220 shell : bash -l {0}
2321 run : |
2422 sudo apt update
25- sudo apt install -y libboost-all-dev
26- sudo apt install -y clang --install-suggests
23+ sudo apt install -y build-essential lsb-release wget software-properties-common gnupg libboost-all-dev
24+ wget https://apt.llvm.org/llvm.sh
25+ chmod u+x llvm.sh
26+ sed -i 's/add-apt-repository "${REPO_NAME}"/add-apt-repository -y "${REPO_NAME}"/g' llvm.sh
27+ sudo ./llvm.sh 16
28+ sudo ln -sfn /usr/bin/clang++-16 /usr/bin/clang++
Original file line number Diff line number Diff line change @@ -10,13 +10,11 @@ runs:
1010 using : " composite"
1111 steps :
1212 - name : Setup conda
13- uses : conda-incubator/setup-miniconda@v2
13+ uses : conda-incubator/setup-miniconda@v3
1414 with :
15- auto-update-conda : true
16- auto-activate-base : false
15+ miniconda-version : " latest"
1716 activate-environment : test
1817 environment-file : test/pytest/environment.yml
19- python-version : 3.9
2018
2119 - name : Activate Env
2220 shell : powershell
Original file line number Diff line number Diff line change 11if (BUILD_TESTS)
22 message (STATUS "Configuring Unit Tests" )
3- add_subdirectory (gtest)
3+ # add_subdirectory(gtest)
44 add_subdirectory (pytest)
55endif ()
66
Original file line number Diff line number Diff line change 11name : test
22dependencies :
3- - python=3.9
3+ - python=3.10
44 - pip
55 - numpy
66 - astropy
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ target_include_directories(${TARGET_NAME} PRIVATE
4848)
4949
5050set (Python_USE_STATIC_LIBS True )
51- find_package (Python 3.8 REQUIRED
51+ find_package (Python 3.10 REQUIRED
5252 COMPONENTS
5353 Development.Module
5454)
You can’t perform that action at this time.
0 commit comments