moved benchmarks to nix

This commit is contained in:
Anton-4 2022-10-17 17:40:35 +02:00
parent d77d8f251d
commit 54ad5d3416
No known key found for this signature in database
GPG key ID: A13F4A6E21141925
20 changed files with 60 additions and 108 deletions

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bash
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
set -euxo pipefail
zig build-exe benchmark/dec.zig -O ReleaseFast --main-pkg-path .

View file

@ -1,4 +1,5 @@
set -eux
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
set -euxo pipefail
# Build the compiler for WebAssembly target
# We *could* write a build.rs to do this but we'd have nested cargo processes with different targets.

View file

@ -8,6 +8,7 @@
# Our website deployment script downloads that zipfile and copies the files into www/build/repl/
# We use this two-step process because Netlify times out if we try to build the Web REPL there.
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
set -euxo pipefail
if ! which wasm-pack