@@ -716,19 +716,6 @@ const ci = {
716
716
"df -h" ,
717
717
] . join ( "\n" ) ,
718
718
} ,
719
- {
720
- name : "Build denort release" ,
721
- if : [
722
- "matrix.job == 'test' &&" ,
723
- "matrix.profile == 'release' &&" ,
724
- "github.repository == 'denoland/deno'" ,
725
- ] . join ( "\n" ) ,
726
- run : [
727
- "df -h" ,
728
- "cargo build --profile=release-slim --locked --bin denort" ,
729
- "df -h" ,
730
- ] . join ( "\n" ) ,
731
- } ,
732
719
{
733
720
// Run a minimal check to ensure that binary is not corrupted, regardless
734
721
// of our build mode
@@ -775,11 +762,10 @@ const ci = {
775
762
"cd target/release" ,
776
763
"zip -r deno-${{ matrix.arch }}-unknown-linux-gnu.zip deno" ,
777
764
"shasum -a 256 deno-${{ matrix.arch }}-unknown-linux-gnu.zip > deno-${{ matrix.arch }}-unknown-linux-gnu.zip.sha256sum" ,
778
- "./deno types > lib.deno.d.ts" ,
779
- "cd ../release-slim" ,
780
- "zip -r ../release/denort-${{ matrix.arch }}-unknown-linux-gnu.zip denort" ,
781
- "cd ../release" ,
765
+ "strip denort" ,
766
+ "zip -r denort-${{ matrix.arch }}-unknown-linux-gnu.zip denort" ,
782
767
"shasum -a 256 denort-${{ matrix.arch }}-unknown-linux-gnu.zip > denort-${{ matrix.arch }}-unknown-linux-gnu.zip.sha256sum" ,
768
+ "./deno types > lib.deno.d.ts" ,
783
769
] . join ( "\n" ) ,
784
770
} ,
785
771
{
@@ -804,9 +790,8 @@ const ci = {
804
790
"cd target/release" ,
805
791
"zip -r deno-${{ matrix.arch }}-apple-darwin.zip deno" ,
806
792
"shasum -a 256 deno-${{ matrix.arch }}-apple-darwin.zip > deno-${{ matrix.arch }}-apple-darwin.zip.sha256sum" ,
807
- "cd ../release-slim" ,
808
- "zip -r ../release/denort-${{ matrix.arch }}-apple-darwin.zip denort" ,
809
- "cd ../release" ,
793
+ "strip denort" ,
794
+ "zip -r denort-${{ matrix.arch }}-apple-darwin.zip denort" ,
810
795
"shasum -a 256 denort-${{ matrix.arch }}-apple-darwin.zip > denort-${{ matrix.arch }}-apple-darwin.zip.sha256sum" ,
811
796
]
812
797
. join ( "\n" ) ,
@@ -823,8 +808,7 @@ const ci = {
823
808
run : [
824
809
"Compress-Archive -CompressionLevel Optimal -Force -Path target/release/deno.exe -DestinationPath target/release/deno-${{ matrix.arch }}-pc-windows-msvc.zip" ,
825
810
"Get-FileHash target/release/deno-${{ matrix.arch }}-pc-windows-msvc.zip -Algorithm SHA256 | Format-List > target/release/deno-${{ matrix.arch }}-pc-windows-msvc.zip.sha256sum" ,
826
-
827
- "Compress-Archive -CompressionLevel Optimal -Force -Path target/release-slim/denort.exe -DestinationPath target/release/denort-${{ matrix.arch }}-pc-windows-msvc.zip" ,
811
+ "Compress-Archive -CompressionLevel Optimal -Force -Path target/release/denort.exe -DestinationPath target/release/denort-${{ matrix.arch }}-pc-windows-msvc.zip" ,
828
812
"Get-FileHash target/release/denort-${{ matrix.arch }}-pc-windows-msvc.zip -Algorithm SHA256 | Format-List > target/release/denort-${{ matrix.arch }}-pc-windows-msvc.zip.sha256sum" ,
829
813
] . join ( "\n" ) ,
830
814
} ,
0 commit comments