Skip to content
Snippets Groups Projects
Commit 3e009ce1 authored by Franck Galpin's avatar Franck Galpin
Browse files

Merge branch 'NCS-1.0_candidate_CI_correction' into 'NCS-1.0_candidate'

change CI target branch

See merge request jvet-ahg-nnvc/VVCSoftware_VTM!13
parents e0851a50 3a41d12e
No related branches found
No related tags found
No related merge requests found
stages: stages:
- build - build
variables: variables:
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: none
.build_template: .build_template:
stage: build stage: build
script: script:
- make sadlclean
- make realclean - make realclean
- make all - make all
only: only:
...@@ -13,13 +14,14 @@ variables: ...@@ -13,13 +14,14 @@ variables:
- master - master
- merge_requests - merge_requests
variables: variables:
- $CI_PROJECT_URL == 'https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM' - $CI_PROJECT_URL == 'https://vcgit.hhi.fraunhofer.de/jvet-ahg-nnvc/VVCSoftware_VTM'
- $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'master' - $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'NCS-1.0_candidate'
.build_template_linux: .build_template_linux:
extends: .build_template extends: .build_template
script: script:
- make sadlclean
- make realclean - make realclean
- make all - make all
- make realclean - make realclean
...@@ -30,10 +32,10 @@ build_macos: ...@@ -30,10 +32,10 @@ build_macos:
tags: tags:
- macos - macos
build_ubuntu1604: #build_ubuntu1604:
extends: .build_template_linux # extends: .build_template_linux
tags: # tags:
- ubuntu1604 # - ubuntu1604
build_ubuntu1804: build_ubuntu1804:
extends: .build_template_linux extends: .build_template_linux
...@@ -43,6 +45,7 @@ build_ubuntu1804: ...@@ -43,6 +45,7 @@ build_ubuntu1804:
build_ubuntu1804-gcc8: build_ubuntu1804-gcc8:
extends: .build_template_linux extends: .build_template_linux
script: script:
- make sadlclean
- make realclean - make realclean
- make all toolset=gcc-8 - make all toolset=gcc-8
- make realclean - make realclean
...@@ -50,6 +53,11 @@ build_ubuntu1804-gcc8: ...@@ -50,6 +53,11 @@ build_ubuntu1804-gcc8:
tags: tags:
- ubuntu1804-gcc8 - ubuntu1804-gcc8
build_ubuntu2004:
extends: .build_template_linux
tags:
- ubuntu2004
build_vc191x: build_vc191x:
extends: .build_template extends: .build_template
tags: tags:
......
...@@ -43,7 +43,9 @@ endif() ...@@ -43,7 +43,9 @@ endif()
# set c++14 # set c++14
set( CMAKE_CXX_STANDARD 14 ) set( CMAKE_CXX_STANDARD 14 )
set( CMAKE_CXX_STANDARD_REQUIRED ON ) set( CMAKE_CXX_STANDARD_REQUIRED ON )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffast-math -Wall -fstrict-aliasing" ) if( UNIX OR MINGW )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffast-math -Wall -fstrict-aliasing" )
endif()
# compile everything position independent (even static libraries) # compile everything position independent (even static libraries)
set( CMAKE_POSITION_INDEPENDENT_CODE TRUE ) set( CMAKE_POSITION_INDEPENDENT_CODE TRUE )
......
...@@ -177,4 +177,8 @@ $(TARGETS_RELWITHDEBINFO_CLEAN_FIRST): ...@@ -177,4 +177,8 @@ $(TARGETS_RELWITHDEBINFO_CLEAN_FIRST):
realclean: realclean:
$(RM) -rf bin build lib $(RM) -rf bin build lib
sadlclean:
$(RM) -rf sadl
git clone https://mpeg:${MPEGPWD}@vcgit.hhi.fraunhofer.de/jvet-ahg-nnvc/sadl.git sadl
.NOTPARALLEL: .NOTPARALLEL:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment