mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 14:40:35 +05:00
Rename jobs in gitlab-ci.yml
This commit is contained in:
parent
695a55e247
commit
afc2ad5e23
@ -8,7 +8,7 @@ stages:
|
|||||||
# Windows
|
# Windows
|
||||||
############################################
|
############################################
|
||||||
|
|
||||||
.template_windows_64: &win64
|
.template_windows: &win
|
||||||
tags:
|
tags:
|
||||||
- windows
|
- windows
|
||||||
- x64
|
- x64
|
||||||
@ -16,14 +16,14 @@ stages:
|
|||||||
- "echo off"
|
- "echo off"
|
||||||
- 'call "%VS140COMNTOOLS%\..\..\VC\bin\amd64\vcvars64.bat"'
|
- 'call "%VS140COMNTOOLS%\..\..\VC\bin\amd64\vcvars64.bat"'
|
||||||
- set CMAKE_GENERATOR=Visual Studio 14 2015 Win64
|
- set CMAKE_GENERATOR=Visual Studio 14 2015 Win64
|
||||||
- set CI_DIR=C:\ci\%CI_BUILD_REF%_64
|
- set CI_DIR=C:\ci\%CI_BUILD_REF%
|
||||||
- set NETGEN_BUILD_DIR=%CI_DIR%\build
|
- set NETGEN_BUILD_DIR=%CI_DIR%\build
|
||||||
- set INSTALL_DIR=%CI_DIR%\install
|
- set INSTALL_DIR=%CI_DIR%\install
|
||||||
- set NETGENDIR=%INSTALL_DIR%\bin
|
- set NETGENDIR=%INSTALL_DIR%\bin
|
||||||
- set PYTHONPATH=%INSTALL_DIR%\lib\site-packages
|
- set PYTHONPATH=%INSTALL_DIR%\lib\site-packages
|
||||||
|
|
||||||
build_netgen_win64:
|
build_win:
|
||||||
<<: *win64
|
<<: *win
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
@ -38,16 +38,16 @@ build_netgen_win64:
|
|||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
- cmake --build . --target INSTALL --config Release
|
- cmake --build . --target INSTALL --config Release
|
||||||
|
|
||||||
test_win64:
|
test_win:
|
||||||
<<: *win64
|
<<: *win
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- cd %NETGEN_BUILD_DIR%/netgen
|
- cd %NETGEN_BUILD_DIR%/netgen
|
||||||
- ctest -C Release -V
|
- ctest -C Release -V
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
win64_cleanup:
|
cleanup_win:
|
||||||
<<: *win64
|
<<: *win
|
||||||
stage: cleanup
|
stage: cleanup
|
||||||
tags:
|
tags:
|
||||||
- windows
|
- windows
|
||||||
@ -101,7 +101,7 @@ test_guidelines:
|
|||||||
- docker run -e CCACHE_DIR=/ccache -v /mnt/ccache:/ccache netgen_${CI_BUILD_REF_NAME}:${UBUNTU_VERSION} bash /root/src/netgen/tests/build_guidelines.sh
|
- docker run -e CCACHE_DIR=/ccache -v /mnt/ccache:/ccache netgen_${CI_BUILD_REF_NAME}:${UBUNTU_VERSION} bash /root/src/netgen/tests/build_guidelines.sh
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
linux_cleanup:
|
cleanup_ubuntu:
|
||||||
stage: cleanup
|
stage: cleanup
|
||||||
tags:
|
tags:
|
||||||
- linux
|
- linux
|
||||||
@ -127,7 +127,7 @@ linux_cleanup:
|
|||||||
- export PYTHONPATH=$CMAKE_INSTALL_PREFIX/Contents/Resources/`python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1,0,''))"`:.
|
- export PYTHONPATH=$CMAKE_INSTALL_PREFIX/Contents/Resources/`python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1,0,''))"`:.
|
||||||
- export PATH=$CMAKE_INSTALL_PREFIX/Contents/MacOS:$PATH
|
- export PATH=$CMAKE_INSTALL_PREFIX/Contents/MacOS:$PATH
|
||||||
|
|
||||||
mac_build:
|
build_mac:
|
||||||
<<: *mac
|
<<: *mac
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
@ -149,14 +149,14 @@ mac_build:
|
|||||||
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
|
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
|
||||||
- make -j5 install
|
- make -j5 install
|
||||||
|
|
||||||
mac_test:
|
test_mac:
|
||||||
<<: *mac
|
<<: *mac
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- cd $BUILD_DIR/netgen
|
- cd $BUILD_DIR/netgen
|
||||||
- ctest . --output-on-failure
|
- ctest . --output-on-failure
|
||||||
|
|
||||||
mac_cleanup:
|
cleanup_mac:
|
||||||
<<: *mac
|
<<: *mac
|
||||||
stage: cleanup
|
stage: cleanup
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user