Skip to content

Add CI scripts and setup files to automate installation #423

Add CI scripts and setup files to automate installation

Add CI scripts and setup files to automate installation #423

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Everybody
#
# SPDX-License-Identifier: CC0-1.0
name: Scala CI
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Cache tools
id: tools
uses: actions/cache@v2
with:
path: |
~/tools
key: ${{ runner.os }}-tools_v7
- name: Setup environment
run: echo "$HOME/tools/bin" >> $GITHUB_PATH
- name: Install all tools
run: source .github/workflows/tools.sh && install_all
- name: Compile
run: sbt clean compile
- name: Test
run: NAXRISCV_REGRESSION_THREAD_COUNT=1 SBT_OPTS="-Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=2G -Xss2M -Duser.timezone=GMT" sbt test