.gitlab-ci.yml 1.15 KB
Newer Older
1
# First version for AIR main source code
2
# Executed in TASTE VM centralized in 192.19.13.167
3 4
# We need create another job for ARM

5 6 7
variables:
    GIT_CLEAN_FLAGS: none

8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
default:
    before_script:
        - cd air
        - pwd
        - ls
        - export RTEMS410=/opt/rtems-4.10/bin
        - export AIR=/home/gitlab-runner/builds/J/0/AIR/jPaxxwjh/air-dev/air
        - export PATH=$PATH:$AIR
        - export PATH=$PATH:$RTEMS410
        - export GIT_SSL_NO_VERIFY=1
        - export AIR_INSTALL=$AIR/install
        - export AIR_PMK=$AIR_INSTALL/pmk
        - export AIR_POS=$AIR_INSTALL/pos
        - export RTEMS_MAKEFILE_PATH=$AIR_POS/rtems5/rtems5-install/sparc-rtems5/leon3
        - export PATH=$PATH:/opt/rtems-5.1-2019.07.25/bin
        - git submodule sync --recursive
        - git submodule update --init --recursive

stages:  #not used yet... use cache to copy data between jobs
    - config
    - building

30
air_configure:
31 32 33 34
    stage: config
    script:
        -  cp /home/taste/work/gitlab/.air_config . #local file of VM at work/gitlab/
        - ./configure -f .air_config
35
air_build:        
36 37
    stage: building
    script:
38 39
        - make clean
        - make