mucking around with CI to get Dahlia to install
@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v1
+ uses: actions/checkout@v2
- name: Install runt
uses: actions-rs/cargo@v1
with:
@@ -21,6 +21,19 @@ jobs:
args: vcdump
- name: Install verilator and jq
run: sudo apt-get install verilator
+ - name: Checkout Dahlia
+ uses: actions/checkout@v2
+ with:
+ repository: cucapra/dahlia
+ path: dahlia
+ - name: Build Dahlia
+ uses: lokkju/github-action-sbt@v0.2.2
+ with:
+ commands: assembly
+ sbt_project_directory: ./dahlia
+ - name: Install Dahlia
+ run: |
+ ln -s "$(pwd)/dahlia/target/scala-2.13/fuse.jar ~/.local/bin/dahlia"
- name: Build
uses: actions-rs/cargo@v1
with:
