Skip to content
Snippets Groups Projects
Commit 0e8cffc4 authored by Mario Gonzalez's avatar Mario Gonzalez
Browse files

Update .gitlab-ci.yml

parent 498a7235
Branches
No related tags found
No related merge requests found
Pipeline #1764 failed
stages:
- test
test_ubuntu:
stage: test
script:
#- 'curl --location --output artifacts.zip --header "PRIVATE-TOKEN: DE5pwEjxTPgNVUGqiR-K" "https://dev.aao.org.au/api/v4/projects/91/jobs/artifacts/master/download?job=build"'
- 'curl --location --output artifacts.zip --header "PRIVATE-TOKEN: DE5pwEjxTPgNVUGqiR-K" "https://dev.aao.org.au/api/v4/projects/91/jobs/artifacts/master/download?job=build_ubuntu"'
- unzip artifacts.zip
- unzip install_dir_ubuntu.zip
- export PATH="$PWD/2dfdr_install/bin:${PATH}"
- echo $PATH
- >
if [ "$(pgrep -l Xvfb)" == "" ]; then
Xvfb :99&
fi
- export DISPLAY=:99
- sleep 2
- make -f Makefile.ac test
only:
variables:
- $CI_PIPELINE_SOURCE == "pipeline"
tags:
- test_execute_ubuntu
test_catalina:
stage: test
script:
- 'curl --location --output artifacts.zip --header "PRIVATE-TOKEN: DE5pwEjxTPgNVUGqiR-K" "https://dev.aao.org.au/api/v4/projects/91/jobs/artifacts/master/download?job=build_macos_catalina"'
- unzip artifacts.zip
- unzip install_dir_macos_catalina.zip
- export PATH="$PWD/2dfdr_install/bin:${PATH}"
- echo $PATH
- >
if [ "$(pgrep -l Xvfb)" == "" ]; then
Xvfb :99 >/dev/null 2>&1 &
fi
- export DISPLAY=:99
- sleep 2
- make -f Makefile.ac test
only:
variables:
- $CI_PIPELINE_SOURCE == "pipeline"
tags:
- test_execute_catalina
test_mojave:
stage: test
script:
- 'curl --location --output artifacts.zip --header "PRIVATE-TOKEN: DE5pwEjxTPgNVUGqiR-K" "https://dev.aao.org.au/api/v4/projects/91/jobs/artifacts/master/download?job=build_macos_mojave"'
- unzip artifacts.zip
- unzip install_dir_macos_mojave.zip
- export PATH="$PWD/2dfdr_install/bin:${PATH}"
- echo $PATH
- >
if [ "$(pgrep -l Xvfb)" == "" ]; then
Xvfb :99 >/dev/null 2>&1 &
fi
- export DISPLAY=:99
- sleep 2
- make -f Makefile.ac test
only:
variables:
- $CI_PIPELINE_SOURCE == "pipeline"
tags:
- test_execute_mojave
include:
- project: 'rds/2dfdr/sample/CommonFiles'
file: '.gitlab-ci-template.yml'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment