.gitlab-ci.yml 1.58 KB
Newer Older
1
# First version for AIR main source code
2
# Executed in TASTE VM centralized in 192.19.13.167
3
# author: dtms @GMV 2020
4

5 6 7
variables:
    GIT_CLEAN_FLAGS: none

8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
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
23 24
        - export PATH=$PATH:/home/taste/work/gcc-arm-9.2-2019.12-x86_64-arm-none-eabi/bin
        - export PATH=/opt/rtems-5-arm/bin:$PATH
25 26 27
        - git submodule sync --recursive
        - git submodule update --init --recursive

28 29 30 31 32
stages: 
    - sconfig-sparc
    - sbuild-sparc
    - sconfig-arm
    - sbuild-arm
33

34 35
config_sparc:
    stage: sconfig-sparc
36
    script:
37 38 39 40 41
        -  cp /home/taste/work/gitlab/.sparc_config . #local file of VM at ~/work/gitlab/
        - ./configure -f .sparc_config
        
build_sparc:        
    stage: sbuild-sparc
42
    script:
43
        - make clean
44 45 46 47 48 49 50 51 52 53 54 55 56 57
        - make
        
config_arm:
    stage: sconfig-arm
    script:
        -  cp /home/taste/work/gitlab/.arm_config . #local file of VM at ~/work/gitlab/
        - ./configure -f .arm_config
        
build_arm:        
    stage: sbuild-arm
    script:
        - make clean
        - make