.gitlab-ci.yml 1.76 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
default:
    before_script:
        - cd air
        - pwd
        - ls
        - export RTEMS410=/opt/rtems-4.10/bin
14
        - export AIR=`pwd`
15 16 17 18 19 20 21 22
        - 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
stages: 
    - sconfig-sparc
    - sbuild-sparc
31
    - test_0009_sparc
32 33
    - sconfig-arm
    - sbuild-arm
34

35 36
config_sparc:
    stage: sconfig-sparc
37
    script:
38
        - cp $AIR/../utils/gitlab-runner/.sparc_config .
39 40 41 42
        - ./configure -f .sparc_config
        
build_sparc:        
    stage: sbuild-sparc
43
    script:
44 45 46 47 48
        - make
        
config_arm:
    stage: sconfig-arm
    script:
49
        -  cp $AIR/../utils/gitlab-runner/.arm_config . 
50 51 52 53 54
        - ./configure -f .arm_config
        
build_arm:        
    stage: sbuild-arm
    script:
55 56 57 58 59 60 61
        - make

0009_sparc:
    stage: test_0009_sparc
    script:
        - cd $AIR/examples/validation/TEST-DEF-00009
        - configure
62 63
        - make clean
        - make
64 65 66 67 68 69 70
        - cp $AIR/../utils/gitlab-runner/* .
        - ls
        - ./doit.sh
        - ./testcheck.py
        - cd $AIR
    environment:
        name: SPARC LEON4