This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
128559d
commit b3c6df1
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: D | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
with: | ||
path: moss | ||
|
||
- 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 libcurl4-openssl-dev liblmdb-dev libxxhash-dev libzstd-dev | ||
- name: Build & Test | ||
run: | | ||
cd moss | ||
dub test |