This repository has been archived by the owner on Mar 31, 2024. It is now read-only.
Add cargo actions #64
Workflow file for this run
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: 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/setup-dlang@v1.3.0 | |
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 |