-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14610 from MinaProtocol/dkijania/port_remove_snar…
…ky_js_test_o1js_main [o1js-main] Removal of snarky js test in mina as one of step of spitting repos
- Loading branch information
Showing
8 changed files
with
41 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/sh | ||
|
||
set -euo pipefail | ||
|
||
set -eou pipefail | ||
set +x | ||
|
||
if [[ $# -ne 1 ]]; then | ||
echo "Usage: $0 branch" | ||
exit 1 | ||
fi | ||
|
||
|
||
mkdir -p "${XDG_CONFIG_HOME-${HOME}/.config}/nix" | ||
echo 'experimental-features = nix-command flakes' > "${XDG_CONFIG_HOME-${HOME}/.config}/nix/nix.conf" | ||
|
||
git config --global --add safe.directory /workdir | ||
|
||
git fetch | ||
# Nix has issue when performing operations on detached head | ||
# On Ci machine it spit out issues like: | ||
# fatal: reference is not a tree: .... | ||
# error: | ||
# … while fetching the input 'git+file:///workdir' | ||
# | ||
# error: program 'git' failed with exit code 128 | ||
# That is why we checkout branch explicitly | ||
git checkout $1 | ||
|
||
./nix/pin.sh | ||
|
||
nix build mina --accept-flake-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters