1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-24 17:27:18 +00:00

Try and fix openbsd st.ht build.

Oneline meson configs, remove extra `cd janet`.
This commit is contained in:
Calvin Rose 2020-12-06 11:57:40 -06:00
parent a119eb4ef0
commit 01120dfc46

View File

@ -6,42 +6,25 @@ packages:
- meson
tasks:
- build: |
# Makefile testing on BSD.
cd janet
cd janet # Makefile testing on BSD.
gmake
gmake test
doas gmake install
gmake test-install
doas gmake uninstall
rm -rf build # clean up
# meson min testing
meson setup build --buildtype=release
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
meson configure -Dsingle_threaded=true
meson configure -Dnanbox=false
meson configure -Ddynamic_modules=false
meson configure -Ddocstrings=false
meson configure -Dnet=false
meson configure -Dsourcemaps=false
meson configure -Dpeg=false
meson configure -Dassembler=false
meson configure -Dint_types=false
meson configure -Dtyped_array=false
meson configure -Dreduced_os=true
ninja # will not pass tests but should build
cd ..
rm -rf build # clean up
# meson (with prf)
meson setup build --buildtype=release
meson setup build --buildtype=release -Dprf=true # meson (with prf)
cd build
meson configure -Dprf=true
ninja
ninja test
cd ..
rm -rf build
# meson (default build)
cd janet
meson setup build --buildtype=release
meson setup build --buildtype=release # meson (default build)
cd build
ninja
ninja test