Skip to content

Commit

Permalink
remove preview_mt
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Feb 9, 2025
1 parent 92fe352 commit f028d05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Build the binary
# Statically link most non-system libraries
run: |
env CRYSTAL_LIBRARY_PATH=`pwd`/libs crystal projects.cr build:cli --no-debug --release -Dpreview_mt
env CRYSTAL_LIBRARY_PATH=`pwd`/libs crystal projects.cr build:cli --no-debug --release #-Dpreview_mt
mkdir bin
mv ./packages/cli/bin/zap ./bin/zap
- name: Upload a Build Artifact
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
cp $(brew --prefix)/opt/pcre2/lib/libpcre2-8.a ./libs
- name: Build the binary
run: |
env CRYSTAL_LIBRARY_PATH=`pwd`/libs crystal projects.cr build:cli --no-debug --release -Dpreview_mt
env CRYSTAL_LIBRARY_PATH=`pwd`/libs crystal projects.cr build:cli --no-debug --release #-Dpreview_mt
mkdir bin
mv ./packages/cli/bin/zap ./bin/zap
- name: Upload a Build Artifact
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ crystal projects.cr spec install
# Run the specs
crystal projects.cr spec
# Build locally (-Dpreview_mt might not work on some os/arch)
crystal projects.cr cli:build --production --release --progress -Dpreview_mt
crystal projects.cr cli:build --production --release --progress # -Dpreview_mt
# Run the binary
./packages/cli/bin/zap --help
```
Expand Down
2 changes: 1 addition & 1 deletion bench/bench-local.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# Build zap
../projects.cr build:cli --production --release --progress -Dpreview_mt
../projects.cr build:cli --production --release --progress #-Dpreview_mt
# Run the benchmarks
env PATH="$(pwd)/../packages/cli/bin:$PATH" ./bench.sh
env PATH="$(pwd)/../packages/cli/bin:$PATH" ./plot.sh

0 comments on commit f028d05

Please sign in to comment.