Skip to content

Commit

Permalink
temporary disable this
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed Aug 25, 2024
1 parent 3896b0e commit 3309a84
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .buildkite/scripts/build-bun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ for name in bun bun-profile; do
run_command mv "$name" "$dir/$name"
run_command zip -r "$dir.zip" "$dir"
source "$cwd/.buildkite/scripts/upload-artifact.sh" "$dir.zip"
if [ "$name" == "bun-profile" ]; then
export BUN_FEATURE_FLAG_INTERNAL_FOR_TESTING="1"
run_command "./$name" -e "require('fs').writeFileSync('./features.json', JSON.stringify(require('bun:internal-for-testing').crash_handler.getFeatureData()))"
source "$cwd/.buildkite/scripts/upload-artifact.sh" "features.json"
fi
# temporary disable this so CI can run
# this is failing because $name is now in $dir/$name and if changed to $dir/$name we get ENOENT reading "bun:internal-for-testing"
# if [ "$name" == "bun-profile" ]; then

This comment has been minimized.

Copy link
@cirospaciari

cirospaciari Aug 25, 2024

Author Member

@Electroid commented this part so CI can run on PRs again on the weekend

# export BUN_FEATURE_FLAG_INTERNAL_FOR_TESTING="1"
# run_command "./$name" -e "require('fs').writeFileSync('./features.json', JSON.stringify(require('bun:internal-for-testing').crash_handler.getFeatureData()))"
# source "$cwd/.buildkite/scripts/upload-artifact.sh" "features.json"
# fi
done

0 comments on commit 3309a84

Please sign in to comment.