2020-03-07 00:11:29 +00:00
|
|
|
image: openbsd/latest
|
2020-01-18 20:42:02 +00:00
|
|
|
sources:
|
2020-03-06 23:30:36 +00:00
|
|
|
- https://git.sr.ht/~bakpakin/janet
|
2019-05-16 22:54:58 +00:00
|
|
|
packages:
|
2020-03-06 23:30:36 +00:00
|
|
|
- gmake
|
2020-12-06 17:46:45 +00:00
|
|
|
- meson
|
2019-05-16 22:54:58 +00:00
|
|
|
tasks:
|
2020-03-06 23:30:36 +00:00
|
|
|
- build: |
|
2020-12-06 17:57:40 +00:00
|
|
|
cd janet # Makefile testing on BSD.
|
2020-03-06 23:30:36 +00:00
|
|
|
gmake
|
|
|
|
gmake test
|
|
|
|
doas gmake install
|
|
|
|
gmake test-install
|
2020-12-06 17:46:45 +00:00
|
|
|
doas gmake uninstall
|
|
|
|
rm -rf build # clean up
|
2020-12-06 17:57:40 +00:00
|
|
|
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
|
2020-12-06 17:46:45 +00:00
|
|
|
cd build
|
|
|
|
ninja # will not pass tests but should build
|
|
|
|
cd ..
|
|
|
|
rm -rf build # clean up
|
2020-12-06 17:57:40 +00:00
|
|
|
meson setup build --buildtype=release -Dprf=true # meson (with prf)
|
2020-12-06 17:46:45 +00:00
|
|
|
cd build
|
|
|
|
ninja
|
|
|
|
ninja test
|
|
|
|
cd ..
|
|
|
|
rm -rf build
|
2020-12-06 17:57:40 +00:00
|
|
|
meson setup build --buildtype=release # meson (default build)
|
2020-12-06 17:46:45 +00:00
|
|
|
cd build
|
|
|
|
ninja
|
|
|
|
ninja test
|
|
|
|
doas ninja install
|
|
|
|
doas jpm --verbose install circlet
|
|
|
|
|