Commit e91d152c authored by Laura Alexandra Sequeira Gouveia's avatar Laura Alexandra Sequeira Gouveia

Merge branch 'master' into f-master-taste

parents b70c2cd5 28dc0979
Pipeline #1944 failed with stages
in 0 seconds
......@@ -7,6 +7,10 @@
*.out
*.ralf
*.txt
*.bin
*.gz
*.img
*.elf
# Makefiles
Makefile
......@@ -24,7 +28,7 @@ b-*/
# 'configure' generated files
.config
air/.air_config
air/pmk/arch/sparc/include/asm_offsets.h
air/pmk/arch/**/include/asm_offsets.h
# Examples generated files
air/examples/**/*.a
......@@ -42,8 +46,69 @@ air/examples/**/rtems_config.h
.*-swp
tags
# Doxygen output directory
doc/
#Netbeans
nbproject
# Eclipse
# Created by https://www.gitignore.io/api/eclipse
### Eclipse ###
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# PyDev specific (Python IDE for Eclipse)
*.pydevproject
# CDT-specific (C/C++ Development Tooling)
.cproject
# Java annotation processor (APT)
.factorypath
# PDT-specific (PHP Development Tools)
.buildpath
# sbteclipse plugin
.target
# Tern plugin
.tern-project
# TeXlipse plugin
.texlipse
# STS (Spring Tool Suite)
.springBeans
# Code Recommenders
.recommenders/
# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet
### Eclipse Patch ###
# Eclipse Core
.project
#TASTE
......@@ -55,3 +120,18 @@ oldI*
#AIV
aiv
# JDT-specific (Eclipse Java Development Tools)
.classpath
# Annotation Processing
.apt_generated
# End of https://www.gitignore.io/api/eclipse
/air/tools/configurator/nbproject/private/
/air/examples/validation/TEST-DEF-00009/doit.sh
/air/examples/validation/TEST-DEF-00009/testScp.sh
/air/examples/validation/testsuite/
/air/tools/test_generator/nbproject/private/
# First version for AIR main source code
# Executed in TASTE VM centralized in 192.19.13.167
# author: dtms @GMV 2020
variables:
GIT_CLEAN_FLAGS: none
stages:
- build
- examples
- validation_tests
default:
before_script:
- cd air
- pwd
- ls
- export RTEMS410=/opt/rtems-4.10/bin
- export AIR=`pwd`
- 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
- 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
- git submodule sync --recursive
- git submodule update --init --recursive
#Cronological order of jobs to be done
#To be divided in the future in multiple VMs
#Build SPARC
config_sparc:
stage: build
tags:
- sparc-taste-debian1
script:
- cp $AIR/../utils/gitlab-runner/.sparc_config .
- ./configure -f .sparc_config
build_sparc:
stage: build
tags:
- sparc-taste-debian1
script:
- make clean
- make -j4
#Build for ARM
config_arm:
stage: build
tags:
- arm-taste-debian1
script:
- cp $AIR/../utils/gitlab-runner/.arm_config .
- ./configure -f .arm_config
build_arm:
stage: build
tags:
- arm-taste-debian1
script:
- make clean # to be removed and used only on failure
- make -j4
#clean_build_arm:
# tags:
# - arm_qemu
# stage: scleanbuild-arm
# script:
# - make clean
# - make
# when: on_failure
##########################
#Example Tests for SPARC #
##########################
hello_sparc:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/hello_world
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
hm_sparc:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/hm
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
bare_sparc:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/bare_c
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
math:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/math
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
ports:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/ports
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
gcov5:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/gcov5
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
paranoia:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/testsuites/paranoia
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
smp01:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/testsuites/smp01
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
smp02:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/testsuites/smp02
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
shm:
stage: examples
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/shm
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
########################
#Unit Tests for SPARC #
########################
00009_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00009
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00010_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00010
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00012_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00012
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00021_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00021
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00022_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00022
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00023_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00023
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00500_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00500
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00510_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00510
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00540_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00540
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00560_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00560
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4
00600_sparc:
stage: validation_tests
tags:
- sparc-taste-debian1
script:
- cd $AIR/examples/private-example/private/validation/TEST-DEF-00600
- cp $AIR/../utils/gitlab-runner/* .
- ./do_leon4_grmon.bash
- cd $AIR
environment:
name: SPARC LEON4