Skip to content

Consolidate on XPack GCC and move to Github Actions #4

Consolidate on XPack GCC and move to Github Actions

Consolidate on XPack GCC and move to Github Actions #4

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Scala
uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
- name: Cache Scala
uses: coursier/cache-action@v5
- name: Install dependencies
run: sudo apt install verilator gcc-riscv64-unknown-elf cmake -y
- name: Run Chisel unit tests
run: sbt 'test'
- name: Build emulator and SDK
run: source env.bash && cmake -Bbuild && cd build && make all install
- name: Run C tests
run: |
source env.bash
cd sdk && cmake -B build && cd build && make && ctest
- name: Run multithreaded C tests
run: |
source env.bash
# Run multiple tests with script
./scripts/run_multiple_tests.sh