1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-17 22:24:49 +00:00
janet/.builds/openbsd.yml

34 lines
941 B
YAML
Raw Normal View History

2020-03-07 00:11:29 +00:00
image: openbsd/latest
sources:
- https://git.sr.ht/~bakpakin/janet
2019-05-16 22:54:58 +00:00
packages:
- gmake
- meson
2019-05-16 22:54:58 +00:00
tasks:
- build: |
cd janet # Makefile testing on BSD.
gmake
gmake test
doas gmake install
gmake test-install
doas gmake uninstall
rm -rf build # clean up
meson setup build --buildtype=release -Dsingle_threaded=true -Dnanbox=false -Ddynamic_modules=false -Ddocstrings=false -Dnet=false -Dsourcemaps=false -Dpeg=false -Dassembler=false -Dint_types=false -Dtyped_array=false -Dreduced_os=true # meson minimum build
cd build
ninja # will not pass tests but should build
cd ..
rm -rf build # clean up
meson setup build --buildtype=release -Dprf=true # meson (with prf)
cd build
ninja
ninja test
cd ..
rm -rf build
meson setup build --buildtype=release # meson (default build)
cd build
ninja
ninja test
doas ninja install
doas jpm --verbose install circlet