shuttle-hq / synth

The Declarative Data Generator
https://www.getsynth.com/
Apache License 2.0
1.39k stars 109 forks source link

OSX: 0.6.0 build does not contain executable synth binary, 0.5.6 build does #216

Closed billatmakeit closed 3 years ago

billatmakeit commented 3 years ago

Mac OSX details: Darwin MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64

Example (0.6.0 build): $ file synth synth: data $ ls -l synth* -rwxr-xr-x@ 1 (userid_masked) staff 19691080 Oct 18 15:57 synth -rw-r--r--@ 1 (userid_masked) staff 3548972 Oct 19 14:43 synth-macos-latest-x86_64.tar.gz

Example (0.5.6 build): $ file synth synth: Mach-O 64-bit executable x86_64 $ ls -ld ./synth* -rwxr-xr-x@ 1 (userid_masked) staff 19416944 Sep 30 09:36 ./synth -rw-r--r--@ 1 (userid_masked) staff 6874126 Oct 19 14:46 ./synth-macos-latest-x86_64.tar.gz

Procedure to replicate: 1) Download 0.6.0 tar.gz file 2) tar xzf synth-macos-latest-x86_64.tar.gz 3) file synth

christos-h commented 3 years ago

Thank you very much for bringing this up @billatmakeit. I'm not sure what happened here but I'm looking into it.

chesedo commented 3 years ago

So this happens because of the tar installed for the mac agent as can be seen here. This is a known issue as documented in actions/virtual-environments#2619 and I'll create PR with one of the suggestions