Skip to content

linux-master

linux-master #165

Workflow file for this run

name: linux-master
on:
push: # run on push events
paths-ignore: # but ignore everything in the docs subfolder
- 'docs/**'
branches:
- '**'
tags:
- '*'
pull_request: # run on pull requests
paths-ignore: # but ignore everything in the docs subfolder
- 'docs/**'
schedule:
- cron: '0 0 * * FRI'
jobs:
Wildau:
runs-on: Ubuntu-20.04
steps:
- name: Cloning SAGA
uses: actions/checkout@v2
- name: Cloning SUMO
uses: actions/checkout@v2
with:
repository: eclipse/sumo
path: sumo
fetch-depth: 0
- name: Fetching SUMO tags
run: |
cd sumo
git fetch --tags --force
- name: Preparing Build System
run: |
sudo apt-get update
sudo apt-get install cmake libeigen3-dev libxerces-c-dev libfox-1.6-dev libgdal-dev libproj-dev libgtest-dev libgoogle-perftools-dev libgl2ps-dev python3-dev python3-setuptools swig openjdk-8-jdk maven ccache
- name: Building SUMO
run: |
mkdir -p sumo/cmake-build
cd sumo/cmake-build
cmake ..
make -j4
sudo make install
- name: Installing SAGA Requirements
run: |
sudo pip3 install --no-cache-dir -r requirements.txt
- name: Preparing Tests
run: |
gunzip tests/*.gz
- name: Running Wildau Test
run: |
export SUMO_HOME='/usr/local/share/sumo'
export SINGLETAZ='--single-taz'
export TAZLVL9='--admin-level 9'
export COMMON='--local-defaults --processes 4 --population 1000 --taxi-fleet 100'
./scenarioFromOSM.py --osm tests/wildau_osm.xml --out tests/wildau $COMMON $SINGLETAZ
- name: Upload Wildau Test
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: Wildau
path: |
tests/wildau
retention-days: 7
DLR:
runs-on: Ubuntu-20.04
steps:
- name: Cloning SAGA
uses: actions/checkout@v2
- name: Cloning SUMO
uses: actions/checkout@v2
with:
repository: eclipse/sumo
path: sumo
fetch-depth: 0
- name: Fetching SUMO tags
run: |
cd sumo
git fetch --tags --force
- name: Preparing Build System
run: |
sudo apt-get update
sudo apt-get install cmake libeigen3-dev libxerces-c-dev libfox-1.6-dev libgdal-dev libproj-dev libgtest-dev libgoogle-perftools-dev libgl2ps-dev python3-dev python3-setuptools swig openjdk-8-jdk maven ccache
- name: Building SUMO
run: |
mkdir -p sumo/cmake-build
cd sumo/cmake-build
cmake ..
make -j4
sudo make install
- name: Installing SAGA Requirements
run: |
sudo pip3 install --no-cache-dir -r requirements.txt
- name: Preparing Tests
run: |
gunzip tests/*.gz
- name: Running DLR Test
run: |
export SUMO_HOME='/usr/local/share/sumo'
export SINGLETAZ='--single-taz'
export TAZLVL9='--admin-level 9'
export COMMON='--local-defaults --processes 4 --population 1000 --taxi-fleet 100'
./scenarioFromOSM.py --osm tests/dlr_osm.xml --out tests/dlr $COMMON $SINGLETAZ
- name: Upload DLR Test
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: DLR
path: |
tests/dlr
retention-days: 7
Docklands:
runs-on: Ubuntu-20.04
steps:
- name: Cloning SAGA
uses: actions/checkout@v2
- name: Cloning SUMO
uses: actions/checkout@v2
with:
repository: eclipse/sumo
path: sumo
fetch-depth: 0
- name: Fetching SUMO tags
run: |
cd sumo
git fetch --tags --force
- name: Preparing Build System
run: |
sudo apt-get update
sudo apt-get install cmake libeigen3-dev libxerces-c-dev libfox-1.6-dev libgdal-dev libproj-dev libgtest-dev libgoogle-perftools-dev libgl2ps-dev python3-dev python3-setuptools swig openjdk-8-jdk maven ccache
- name: Building SUMO
run: |
mkdir -p sumo/cmake-build
cd sumo/cmake-build
cmake ..
make -j4
sudo make install
- name: Installing SAGA Requirements
run: |
sudo pip3 install --no-cache-dir -r requirements.txt
- name: Preparing Tests
run: |
gunzip tests/*.gz
- name: Running Docklands Test
run: |
export SUMO_HOME='/usr/local/share/sumo'
export SINGLETAZ='--single-taz'
export TAZLVL9='--admin-level 9'
export COMMON='--local-defaults --processes 4 --population 1000 --taxi-fleet 100'
./scenarioFromOSM.py --osm tests/docklands_osm.xml --out tests/docklands --lefthand $COMMON $TAZLVL9
- name: Upload Docklands Test
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: Docklands
path: |
tests/docklands
retention-days: 7
Sophia:
runs-on: Ubuntu-20.04
steps:
- name: Cloning SAGA
uses: actions/checkout@v2
- name: Cloning SUMO
uses: actions/checkout@v2
with:
repository: eclipse/sumo
path: sumo
fetch-depth: 0
- name: Fetching SUMO tags
run: |
cd sumo
git fetch --tags --force
- name: Preparing Build System
run: |
sudo apt-get update
sudo apt-get install cmake libeigen3-dev libxerces-c-dev libfox-1.6-dev libgdal-dev libproj-dev libgtest-dev libgoogle-perftools-dev libgl2ps-dev python3-dev python3-setuptools swig openjdk-8-jdk maven ccache
- name: Building SUMO
run: |
mkdir -p sumo/cmake-build
cd sumo/cmake-build
cmake ..
make -j4
sudo make install
- name: Installing SAGA Requirements
run: |
sudo pip3 install --no-cache-dir -r requirements.txt
- name: Preparing Tests
run: |
gunzip tests/*.gz
- name: Running Sophia Antipolis Test
run: |
export SUMO_HOME='/usr/local/share/sumo'
export SINGLETAZ='--single-taz'
export TAZLVL9='--admin-level 9'
export COMMON='--local-defaults --processes 4 --population 1000 --taxi-fleet 100'
./scenarioFromOSM.py --osm tests/sophia_osm.xml --out tests/sophia $COMMON $TAZLVL9
- name: Upload Sophia Test
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: Sophia
path: |
tests/sophia
retention-days: 7
Riyadh:
runs-on: Ubuntu-20.04
steps:
- name: Cloning SAGA
uses: actions/checkout@v2
- name: Cloning SUMO
uses: actions/checkout@v2
with:
repository: eclipse/sumo
path: sumo
fetch-depth: 0
- name: Fetching SUMO tags
run: |
cd sumo
git fetch --tags --force
- name: Preparing Build System
run: |
sudo apt-get update
sudo apt-get install cmake libeigen3-dev libxerces-c-dev libfox-1.6-dev libgdal-dev libproj-dev libgtest-dev libgoogle-perftools-dev libgl2ps-dev python3-dev python3-setuptools swig openjdk-8-jdk maven ccache
- name: Building SUMO
run: |
mkdir -p sumo/cmake-build
cd sumo/cmake-build
cmake ..
make -j4
sudo make install
- name: Installing SAGA Requirements
run: |
sudo pip3 install --no-cache-dir -r requirements.txt
- name: Preparing Tests
run: |
gunzip tests/*.gz
- name: Running Riyadh Test
run: |
export SUMO_HOME='/usr/local/share/sumo'
export SINGLETAZ='--single-taz'
export TAZLVL9='--admin-level 9'
export COMMON='--local-defaults --processes 4 --population 1000 --taxi-fleet 100'
./scenarioFromOSM.py --osm tests/riyadh_osm.xml --out tests/riyadh $COMMON $TAZLVL9
- name: Upload Riyadh Test
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: Riyadh
path: |
tests/riyadh
retention-days: 7
Kyoto:
runs-on: Ubuntu-20.04
steps:
- name: Cloning SAGA
uses: actions/checkout@v2
- name: Cloning SUMO
uses: actions/checkout@v2
with:
repository: eclipse/sumo
path: sumo
fetch-depth: 0
- name: Fetching SUMO tags
run: |
cd sumo
git fetch --tags --force
- name: Preparing Build System
run: |
sudo apt-get update
sudo apt-get install cmake libeigen3-dev libxerces-c-dev libfox-1.6-dev libgdal-dev libproj-dev libgtest-dev libgoogle-perftools-dev libgl2ps-dev python3-dev python3-setuptools swig openjdk-8-jdk maven ccache
- name: Building SUMO
run: |
mkdir -p sumo/cmake-build
cd sumo/cmake-build
cmake ..
make -j4
sudo make install
- name: Installing SAGA Requirements
run: |
sudo pip3 install --no-cache-dir -r requirements.txt
- name: Preparing Tests
run: |
gunzip tests/*.gz
- name: Running Kyoto Test
run: |
export SUMO_HOME='/usr/local/share/sumo'
export SINGLETAZ='--single-taz'
export TAZLVL9='--admin-level 9'
export COMMON='--local-defaults --processes 4 --population 1000 --taxi-fleet 100'
./scenarioFromOSM.py --osm tests/kyoto_osm.xml --out tests/kyoto --lefthand $COMMON $TAZLVL9
- name: Upload Kyoto Test
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: Kyoto
path: |
tests/kyoto
retention-days: 7