Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 79f62793 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'ci/macos' into 'master'

ci: add macosx job

See merge request solverstack/hqr!19
parents 29bb46a6 983a4770
No related branches found
No related tags found
No related merge requests found
......@@ -10,10 +10,10 @@ before_script:
- git submodule update --init --recursive
- mkdir -p build
hqr_build:
hqr_build_linux:
stage: build
artifacts:
name: hqr_build
name: hqr_build_linux
expire_in: 42 minutes
untracked: true
script:
......@@ -27,12 +27,12 @@ hqr_build:
- branches
- master@solverstack/hqr
hqr_test:
hqr_test_linux:
stage: test
dependencies:
- hqr_build
- hqr_build_linux
artifacts:
name: hqr_test
name: hqr_test_linux
expire_in: 42 minutes
untracked: true
script:
......@@ -47,8 +47,8 @@ hqr_test:
hqr_sonar:
stage: sonar
dependencies:
- hqr_build
- hqr_test
- hqr_build_linux
- hqr_test_linux
artifacts:
name: hqr_sonar
expire_in: 1 week
......@@ -62,6 +62,40 @@ hqr_sonar:
only:
- master@solverstack/hqr
hqr_build_macosx:
tags: ['macosx']
stage: build
artifacts:
name: hqr_build_macosx
expire_in: 42 minutes
untracked: true
script:
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=${PWD}/../install -DBUILD_SHARED_LIBS=ON -DCMAKE_VERBOSE_MAKEFILE=ON | tee ../hqr-build.log
- ctest --no-compress-output -V -j 5
-D ExperimentalBuild
-D ExperimentalSubmit | tee -a hqr_build.log
- make install | tee -a ../hqr-build.log
only:
- branches
- master@solverstack/hqr
hqr_test_macosx:
tags: ['macosx']
stage: test
dependencies:
- hqr_build_macosx
artifacts:
name: hqr_test_macosx
expire_in: 42 minutes
untracked: true
script:
- source install/bin/hqr_env.sh
- (cd build &&
eval "ctest -D ExperimentalTest
-D ExperimentalCoverage
-D ExperimentalSubmit | tee ../hqr-tests.log")
# pages:
# stage: deploy
# script:
......
......@@ -49,10 +49,10 @@ if ( NOT BUILD_SUBPROJECT )
add_test( test_svd ./testing_svd -X )
add_test( test_systolic ./testing_systolic -X )
add_test( test_tphqr ./testing_tphqr -X )
add_test( single_hqr ./testing_hqr -v )
add_test( single_svd ./testing_svd -v )
add_test( single_systolic ./testing_systolic -v )
add_test( single_tphqr ./testing_tphqr -v )
add_test( single_hqr ./testing_hqr -v 2 )
add_test( single_svd ./testing_svd -v 2 )
add_test( single_systolic ./testing_systolic -v 2 )
add_test( single_tphqr ./testing_tphqr -v 2 )
add_test( usage ./testing_tphqr -h )
add_test( test_print ./testing_print -M 27 -N 7 -P 3 )
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment