Commit 87d104bf authored by Daniel Silveira's avatar Daniel Silveira

First version of gitlab-ci.yml.

Controls gitlab runner set in a VM using shell.

parent bcb63978
# First version for AIR main source code
# it executes configure and build in one go
# next version should separate in stages using cache
# To be execute in TASTE VM centralized in
# We need create another job for ARM
- 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
stage: config
- cp /home/taste/work/gitlab/.air_config . #local file of VM at work/gitlab/
- ./configure -f .air_config
- make clean
- make
\ No newline at end of file
# Welcome to AIR
# Welcome to AIR v5.4.0
AIR has a user manual at
You have two way of getting AIR
You have two ways of getting AIR
1) AIR is integrrated in TASTE toolchain available at
2) Download from repository where following instructions apply:
To install AIR after cloning from git, you should do the following:
## 1 - Install RTEMS toolchain for RTEMS 5
Execute the following:
git clone git:// rsb
......@@ -34,11 +32,11 @@ Clone AIR repo for example in */home/taste/work/*
Add the *air_repo/air* to the PATH env variable, we recommend doing the following way in .bashrc file:
export AIR=/home/taste/work/air/air
export AIR=/home/taste/work/AIR/air
export PATH=$PATH:$AIR
AIR supports the following paravirtualized RTOS versions
- RTEMS 4.8i
- RTEMS 4.8i (Edisoft)
AIR paravirtualized RTOS are obtained via git submodules. For example to use AIR
......@@ -55,22 +53,17 @@ On *air_repo/air* execute
Configurator interface will enquire the user for options (architecture, BSP, FPU, Cache, Debugger, RTOS). For example
Press 0 for sparc
Press 2 for leon4
Press 0 for fpu enabled
Press 0 for GRMON
Press 1 to install all RTOS
After configurator finishes execute
After configurator finishes execute
make clean
### To build an example ready to run on a target board
Then go to any example inside *air_repo/air/examples*
......@@ -90,7 +83,7 @@ will create the respective binary in the created *executables* folder.
## Support
Email to or raise issue at our Gitlab
## Updating AIR repo to AIR v5.3 and configurator v4.3
## Updating AIR repo to AIR v5.4.0 and configurator v4.3
Since configurator v4.2 the RTOS paravirtualized versions are obtained via git submodules.
Pulling new AIR content into old AIR repo will generate conflicts. To get a new clean
AIR repo please execute (please backup any working folder)
......@@ -99,3 +92,8 @@ AIR repo please execute (please backup any working folder)
git reset origin/master --hard
Further information email
Users can submit issues on gitlab, where they can follow development team addressing them.
Gitlab address:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment