Update test.yml #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: [push, pull_request] | |
jobs: | |
ci: | |
name: ci | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cleanup | |
run: sed -i "s/%NAME%/test/g" build.sc | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: adopt@1.11 | |
- name: Setup Mill | |
uses: jodersky/setup-mill@v0.2.3 | |
with: | |
mill-version: 0.10.12 | |
- name: Cache Scala | |
uses: coursier/cache-action@v5 | |
- name: setup-verilator | |
uses: veryl-lang/setup-verilator@v1.0.2 | |
with: | |
version: 4.038 | |
- name: SBT Test | |
run: sbt test | |
- name: mill Test | |
run: mill _.test |