@@ -716,19 +716,6 @@ const ci = {
716716 "df -h" ,
717717 ] . join ( "\n" ) ,
718718 } ,
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- } ,
732719 {
733720 // Run a minimal check to ensure that binary is not corrupted, regardless
734721 // of our build mode
@@ -775,11 +762,10 @@ const ci = {
775762 "cd target/release" ,
776763 "zip -r deno-${{ matrix.arch }}-unknown-linux-gnu.zip deno" ,
777764 "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" ,
782767 "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" ,
783769 ] . join ( "\n" ) ,
784770 } ,
785771 {
@@ -804,9 +790,8 @@ const ci = {
804790 "cd target/release" ,
805791 "zip -r deno-${{ matrix.arch }}-apple-darwin.zip deno" ,
806792 "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" ,
810795 "shasum -a 256 denort-${{ matrix.arch }}-apple-darwin.zip > denort-${{ matrix.arch }}-apple-darwin.zip.sha256sum" ,
811796 ]
812797 . join ( "\n" ) ,
@@ -823,8 +808,7 @@ const ci = {
823808 run : [
824809 "Compress-Archive -CompressionLevel Optimal -Force -Path target/release/deno.exe -DestinationPath target/release/deno-${{ matrix.arch }}-pc-windows-msvc.zip" ,
825810 "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" ,
828812 "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" ,
829813 ] . join ( "\n" ) ,
830814 } ,
0 commit comments