.build.yml: init
This commit is contained in:
parent
c00e0fa7e6
commit
0b0a306736
1 changed files with 15 additions and 0 deletions
15
.build.yml
Normal file
15
.build.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
image: nixos/unstable
|
||||||
|
packages:
|
||||||
|
- nixos.ldc
|
||||||
|
environment:
|
||||||
|
CFLAGS: "-Oz -de -unittest -main -run"
|
||||||
|
NIX_CONFIG: "experimental-features = nix-command flakes"
|
||||||
|
sources:
|
||||||
|
- "https://git.sr.ht/~jeremy/initial"
|
||||||
|
tasks:
|
||||||
|
- ldc: |
|
||||||
|
ldc2 $CFLAGS initial/initial.d
|
||||||
|
- ldc-1_30_0: |
|
||||||
|
nix build -o ldc-1.30.0 --accept-flake-config github:PetarKirov/dlang.nix#ldc-1_30_0
|
||||||
|
ldc-1.30.0/bin/ldc2 $CFLAGS initial/initial.d
|
Loading…
Add table
Add a link
Reference in a new issue