Added --no-run switch for automated builds
This saves having to run sed to edit the build script, and stops piano.rom (and piano.log) from being bundled with the binary outputs.
This commit is contained in:
parent
317d71654e
commit
01bdd950aa
|
@ -22,16 +22,15 @@ tasks:
|
|||
printf 'User build\nStrictHostKeyChecking yes\nCheckHostIP no\nHost win\nHostName w1.uxn-build.ald.nu\nPort 2222\nHost mac\nHostName m1.uxn-build.ald.nu\nPort 2223\n' > ~/.ssh/config
|
||||
- build-linux: |
|
||||
cd uxn
|
||||
sed -i -e 's/.*Running.*/exit/' build.sh
|
||||
./build.sh
|
||||
./build.sh --no-run
|
||||
mv bin uxn
|
||||
tar -czf ../out/uxn-linux-amd64.tar.gz uxn
|
||||
cd ..
|
||||
- build-windows: |
|
||||
ssh win "rm -f uxn-windows-64bit.zip; export PATH=\"\${PATH}:/mingw64/bin\"; set -ex; cd uxn; git fetch; git checkout .; git clean -xfd; git checkout $(cd uxn && git rev-parse HEAD); sed -i -e 's/.*Running.*/exit/' build.sh; MSYSTEM=MSYS ./build.sh; mv bin uxn; zip -qr ../uxn-windows-64bit.zip uxn"
|
||||
ssh win "rm -f uxn-windows-64bit.zip; export PATH=\"\${PATH}:/mingw64/bin\"; set -ex; cd uxn; git fetch; git checkout .; git clean -xfd; git checkout $(cd uxn && git rev-parse HEAD); MSYSTEM=MSYS ./build.sh --no-run; mv bin uxn; zip -qr ../uxn-windows-64bit.zip uxn"
|
||||
rsync win:uxn-windows-64bit.zip out/
|
||||
- build-macos: |
|
||||
ssh mac "rm -f uxn-macos.tar.gz; export PATH=\"\${PATH}:/usr/local/bin\"; set -ex; cd uxn; git fetch; git checkout .; git clean -xfd; git checkout $(cd uxn && git rev-parse HEAD); sed -i -e 's/.*Running.*/exit/' build.sh; ./build.sh; mv bin uxn; tar -zcf ../uxn-macos.tar.gz uxn"
|
||||
ssh mac "rm -f uxn-macos.tar.gz; export PATH=\"\${PATH}:/usr/local/bin\"; set -ex; cd uxn; git fetch; git checkout .; git clean -xfd; git checkout $(cd uxn && git rev-parse HEAD); ./build.sh --no-run; mv bin uxn; tar -zcf ../uxn-macos.tar.gz uxn"
|
||||
rsync mac:uxn-macos.tar.gz out/
|
||||
- upload: |
|
||||
ls -l out
|
||||
|
|
Loading…
Reference in New Issue