Skip to content

Commit

Permalink
CI: run 07-simulation-base in CI
Browse files Browse the repository at this point in the history
This adds a basic sanity check of
Cooja functionality for ContikiMoteTypes.
  • Loading branch information
pjonsson committed Sep 2, 2023
1 parent c2e890c commit c77417e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ jobs:
runs-on: ubuntu-22.04

steps:
- name: Checkout Contiki-NG repo
uses: actions/checkout@v3
with:
repository: contiki-ng/contiki-ng
path: contiki-ng
- uses: actions/checkout@v3
with:
repository: contiki-ng/cooja
path: contiki-ng/tools/cooja
- name: Setup Java 20
uses: actions/setup-java@v3
with:
Expand All @@ -21,8 +29,18 @@ jobs:
gradle-version: 8.3
cache-read-only: false
arguments: jar
build-root-directory: contiki-ng/tools/cooja
- name: Test MSPSim
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.3
arguments: test
build-root-directory: contiki-ng/tools/cooja

- name: Run Contiki-NG simulation tests
run: |
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

0 comments on commit c77417e

Please sign in to comment.