From d8f6eadd064da78b0599eb1af25c41ddb28da093 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Mon, 30 Nov 2020 18:00:44 -0800 Subject: [PATCH] Simplify Github Actions CI (#75) (cherry picked from commit 4b5f5ae70ed74aad58602c873b5dd2bbc268d2e5) # Conflicts: # .github/workflows/test.yml --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..f049d34 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Test + +on: [pull_request] + +jobs: + build: + name: ci + runs-on: ubuntu-latest + container: + image: ucbbar/chisel3-tools + options: --user github --entrypoint /bin/bash + env: + CONTAINER_HOME: /home/github + + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Scala + uses: olafurpg/setup-scala@v10 + - name: Cache + uses: coursier/cache-action@v5 + - name: Test + id: test + run: sbt +test