-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Script to prepare binary executables for uploading to the github rele…
…ase page. (#6015)
- Loading branch information
Showing
2 changed files
with
35 additions
and
12 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
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,31 @@ | ||
#!/usr/bin/env nix-shell | ||
#! nix-shell -i bash --pure | ||
#! nix-shell -p bash git nix upx | ||
|
||
set -euo pipefail | ||
|
||
banner='\n | ||
Lets prepare binaries for a release:\n | ||
1. Build `pir`\n | ||
2. Compress `pir` with `upx`\n | ||
3. Build `uplc`\n | ||
4. Compress `uplc` with `upx`\n | ||
' | ||
|
||
echo -e $banner | ||
|
||
echo "Building pir..." | ||
|
||
nix build ".#hydraJobs.x86_64-linux.musl64.ghc96.pir" | ||
|
||
echo "Compressing pir..." | ||
|
||
upx -9 ./result/bin/pir -o pir-x86_64-linux-ghc96 --force-overwrite | ||
|
||
echo "Building uplc..." | ||
|
||
nix build ".#hydraJobs.x86_64-linux.musl64.ghc96.uplc" | ||
|
||
echo "Compressing uplc..." | ||
|
||
upx -9 ./result/bin/uplc -o uplc-x86_64-linux-ghc96 --force-overwrite |
5ee2936
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Plutus Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.05
.validation-decode-escrow-redeem_2-1
337.2
μs313.3
μs1.08
validation-decode-escrow-redeem_2-3
326.7
μs310.5
μs1.05
validation-decode-escrow-refund-1
333.1
μs312.1
μs1.07
validation-decode-future-increase-margin-2
338.5
μs318.7
μs1.06
validation-decode-future-pay-out-2
338.6
μs317.9
μs1.07
validation-decode-future-pay-out-3
331.2
μs315.2
μs1.05
validation-decode-uniswap-6
189.3
μs174.4
μs1.09
This comment was automatically generated by workflow using github-action-benchmark.
CC: @input-output-hk/plutus-core