Alpha release

This commit is contained in:
Phillip Stephens 2021-02-20 13:10:08 -08:00
parent 483f8ed97b
commit ba69a0dc29
1 changed files with 50 additions and 50 deletions

View File

@ -2,60 +2,60 @@
variables: &build_variables variables: &build_variables
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
.build:macos: &macos_definition #.build:macos: &macos_definition
stage: build # stage: build
tags: # tags:
- macos # - macos
script: # script:
- mkdir build # - mkdir build
- cd build # - cd build
- > # - >
cmake # cmake
-GNinja # -GNinja
-DCMAKE_BUILD_TYPE=RelWithDebInfo # -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DURDE_DLPACKAGE=urde-$CI_PIPELINE_ID-macos-x86_64-$URDE_VECTOR_ISA # -DURDE_DLPACKAGE=urde-$CI_PIPELINE_ID-macos-x86_64-$URDE_VECTOR_ISA
-DURDE_VECTOR_ISA=$URDE_VECTOR_ISA # -DURDE_VECTOR_ISA=$URDE_VECTOR_ISA
.. # ..
- ninja urde hecl visigen # - ninja urde hecl visigen
- cd Binaries # - cd Binaries
- cp -R urde.app $CI_PROJECT_DIR/URDE.app # - cp -R urde.app $CI_PROJECT_DIR/URDE.app
- cd $CI_PROJECT_DIR # - cd $CI_PROJECT_DIR
- strip -S -o URDE.app/Contents/MacOS/urde URDE.app/Contents/MacOS/urde # - strip -S -o URDE.app/Contents/MacOS/urde URDE.app/Contents/MacOS/urde
- strip -S -o URDE.app/Contents/MacOS/hecl URDE.app/Contents/MacOS/hecl # - strip -S -o URDE.app/Contents/MacOS/hecl URDE.app/Contents/MacOS/hecl
- strip -S -o URDE.app/Contents/MacOS/visigen URDE.app/Contents/MacOS/visigen # - strip -S -o URDE.app/Contents/MacOS/visigen URDE.app/Contents/MacOS/visigen
- (if [ "${URDE_MACOS_CODESIGN_UID}" != "" ]; then codesign -s $URDE_MACOS_CODESIGN_UID --deep URDE.app; else echo "Unable to sign app bundle :("; fi); # - (if [ "${URDE_MACOS_CODESIGN_UID}" != "" ]; then codesign -s $URDE_MACOS_CODESIGN_UID --deep URDE.app; else echo "Unable to sign app bundle :("; fi);
only: # only:
- release # - release
- dev # - dev
artifacts: # artifacts:
name: "urde-$CI_PIPELINE_ID-macos-x86_64-$URDE_VECTOR_ISA" # name: "urde-$CI_PIPELINE_ID-macos-x86_64-$URDE_VECTOR_ISA"
paths: # paths:
- URDE.app/ # - URDE.app/
expire_in: 1 week # expire_in: 1 week
build:macos:sse3: #build:macos:sse3:
<<: *macos_definition # <<: *macos_definition
variables: # variables:
<<: *build_variables # <<: *build_variables
URDE_VECTOR_ISA: sse3 # URDE_VECTOR_ISA: sse3
build:macos:sse41: #build:macos:sse41:
<<: *macos_definition # <<: *macos_definition
variables: # variables:
<<: *build_variables # <<: *build_variables
URDE_VECTOR_ISA: sse41 # URDE_VECTOR_ISA: sse41
build:macos:avx: #build:macos:avx:
<<: *macos_definition # <<: *macos_definition
variables: # variables:
<<: *build_variables # <<: *build_variables
URDE_VECTOR_ISA: avx # URDE_VECTOR_ISA: avx
build:macos:avx2: #build:macos:avx2:
<<: *macos_definition # <<: *macos_definition
variables: # variables:
<<: *build_variables # <<: *build_variables
URDE_VECTOR_ISA: avx2 # URDE_VECTOR_ISA: avx2
.build:linux: &linux_definition .build:linux: &linux_definition
stage: build stage: build