-
Notifications
You must be signed in to change notification settings - Fork 0
/
.build.yml
38 lines (38 loc) · 1.04 KB
/
.build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
image: archlinux
packages:
- mlton
- polyml
- ninja
- meson
- wget
secrets:
- 1011a889-f276-420d-ba69-b2dc27f6c5cc
sources:
- hg+ssh://[email protected]/~cannam/bisquay
tasks:
- setup: |
ssh-keyscan -H hg.sr.ht >> .ssh/known_hosts
echo '{"accounts": {"sourcehut": "cannam"}}' > .repoint.json
- build: |
cd bisquay
./repoint install
# meson build_poly -Dsml_buildtype=polyml
meson build_mlton_noffi -Dsml_buildtype=mlton_noffi
# ninja -C build_poly
# Two whole build targets with MLton runs us out of memory
# unless -j1 is specified:
ninja -j1 -C build_mlton_noffi
# Test whether a build using default-int32 MLton also works:
mlton test-sml.mlb
# And build the documentation:
meson compile -C build_mlton_noffi doc
- test: |
cd bisquay
# ./build_poly/bsq_test
./build_mlton_noffi/bsq_test
./test-sml
./scripts/check-individual-builds.sh
triggers:
- action: email
condition: always