Skip to content

CI: run 07-simulation-base in CI #1593

CI: run 07-simulation-base in CI

CI: run 07-simulation-base in CI #1593

Workflow file for this run

on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup Java 20
uses: actions/setup-java@v3
with:
java-version: 20
distribution: 'zulu'
- name: Verify gradle-wrapper checksum
uses: gradle/wrapper-validation-action@v1
- name: Build Cooja and Documentation
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.3
cache-read-only: false
arguments: jar
- name: Test MSPSim
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.3
arguments: test
- name: Checkout Contiki-NG repo
uses: actions/checkout@v3
with:
repository: contiki-ng/contiki-ng
path: ../contiki-ng
- name: Run Contiki-NG simulation tests
run: |
rm -rf ../contiki-ng/tools/cooja
(cd ../contiki-ng/tools && ln -s . `pwd`)
ls -l ../contiki-ng/tools
cd ../contiki-ng/tests/07-simulation-base
# Skip MSP430 tests, no compiler installed.
rm ??-*sky*.csc ??-*z1*.csc
source ../../tools/docker/files/bash_aliases
cimake