Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Add cargo actions

Add cargo actions #63

Workflow file for this run

name: D
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
dub_test:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
with:
path: boulder
- name: Checkout libmoss source
uses: actions/checkout@v3
with:
repository: serpent-os/libmoss
path: libmoss
ref: main
- name: Setup D compiler
uses: dlang-community/[email protected]
with:
compiler: ldc-1.32.0
- name: Install deps
run: |
sudo apt-get install git libcurl4-openssl-dev libgit2-dev liblmdb-dev libxxhash-dev libzstd-dev libdbus-1-dev
- name: Build & Test
run: |
cd boulder
dub test