From f236d086cd0340f000e0118941c699972f2890a6 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sat, 10 Dec 2022 10:00:02 +1100 Subject: CI: Remove travis and legacy docker infrastructure --- .travis.yml | 42 -------------------------- Dockerfile | 73 --------------------------------------------- docker-script | 95 ----------------------------------------------------------- make-all | 5 ---- 4 files changed, 215 deletions(-) delete mode 100644 .travis.yml delete mode 100644 Dockerfile delete mode 100644 docker-script delete mode 100755 make-all diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ca442a7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,42 +0,0 @@ -os: -- linux - -sudo: required -dist: trusty - -languages: c++ - -git: - submodules: true - -services: - - docker - -before_install: - - docker build -t damo22/zam-plugins-build:latest . - -script: - - docker run -v `pwd`:/tmp/build --entrypoint "/bin/bash" damo22/zam-plugins-build:latest -c "cd /tmp/build; CPUS=2 TRAVIS_TAG=${TRAVIS_TAG} bash docker-script" - -deploy: - provider: releases - api_key: ${RELEASES_TOKEN} - file: - - bin/zam-plugins-${TRAVIS_TAG}-linuxlv2.zip - - bin/zam-plugins-${TRAVIS_TAG}-osxlv2.zip - - bin/zam-plugins-${TRAVIS_TAG}-win32lv2.zip - - bin/zam-plugins-${TRAVIS_TAG}-win64lv2.zip - - bin/zam-plugins-${TRAVIS_TAG}-osxvst.zip - - bin/zam-plugins-${TRAVIS_TAG}-win32vst.zip - - bin/zam-plugins-${TRAVIS_TAG}-win64vst.zip - skip_cleanup: true - overwrite: true - draft: true - on: - repo: zamaudio/zam-plugins - tags: true - -notifications: - email: - on_success: always - on_failure: always diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index f4f01f7..0000000 --- a/Dockerfile +++ /dev/null @@ -1,73 +0,0 @@ -FROM ubuntu:14.04 - -MAINTAINER Damien Zammit - -ENV PATH=$PATH:/opt/mingw64/bin:/opt/local/bin - -WORKDIR ~/ - -RUN apt-get update -qq -y && apt-get install python-software-properties -y -RUN apt-get install software-properties-common -y && add-apt-repository ppa:kxstudio-debian/mingw -y && add-apt-repository ppa:ubuntu-toolchain-r/test -y && apt-get update -qq -y -RUN apt-get install wget -y - -RUN wget -c https://launchpad.net/~flosoft/+archive/ubuntu/cross-apple/+files/apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb --no-check-certificate - -RUN wget http://zamaudio.com/mbox2/apple-macports-fftw-3_3.3.5-1_all.deb -RUN wget http://zamaudio.com/mbox2/apple-macports-libiconv_1.14-0_all.deb -RUN wget http://zamaudio.com/mbox2/apple-macports-liblo_0.26-1_all.deb -RUN wget http://zamaudio.com/mbox2/apple-macports-libogg_1.3.0-1_all.deb -RUN wget http://zamaudio.com/mbox2/apple-macports-libsamplerate_0.1.9-1_all.deb -RUN wget http://zamaudio.com/mbox2/apple-macports-libsndfile_1.0.25-0_all.deb -RUN wget http://zamaudio.com/mbox2/apple-macports-libvorbis_1.3.3-0_all.deb -RUN wget http://zamaudio.com/mbox2/apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb -RUN wget http://zamaudio.com/mbox2/apple-x86-odcctools_758.159-0kxstudio2_amd64.deb -RUN wget http://zamaudio.com/mbox2/apple-x86-setup_2_amd64.deb -RUN wget http://zamaudio.com/mbox2/apple-macports-flac_1.2.1-1_all.deb - -# Apple cross compiler && build deps -RUN dpkg -i apple-x86-odcctools_758.159-0kxstudio2_amd64.deb && \ - dpkg -i apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb && \ - dpkg -i apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb && \ - dpkg -i apple-x86-setup_2_amd64.deb && \ - dpkg -i apple-macports-liblo_0.26-1_all.deb && \ - dpkg -i apple-macports-fftw-3_3.3.5-1_all.deb && \ - dpkg -i apple-macports-libiconv_1.14-0_all.deb && \ - dpkg -i apple-macports-libogg_1.3.0-1_all.deb && \ - dpkg -i apple-macports-libvorbis_1.3.3-0_all.deb && \ - dpkg -i apple-macports-flac_1.2.1-1_all.deb && \ - dpkg -i apple-macports-libsndfile_1.0.25-0_all.deb && \ - dpkg -i apple-macports-libsamplerate_0.1.9-1_all.deb - -# Windows cross-compiler && build deps -RUN apt-get install -y \ - mingw64-x-gcc \ - mingw64-x-binutils \ - mingw64-x-pkgconfig \ - mingw64-x-liblo \ - mingw64-x-libsndfile -#libsamplerate and fftw3f - -RUN wget http://zamaudio.com/mbox2/mingw64-x-fftw-3_3.3.5-1_all.deb -RUN dpkg -i mingw64-x-fftw-3_3.3.5-1_all.deb -RUN wget http://zamaudio.com/mbox2/mingw64-x-libsamplerate_0.1.9-1_all.deb -RUN dpkg -i mingw64-x-libsamplerate_0.1.9-1_all.deb -RUN wget http://zamaudio.com/mbox2/mingw64-x-pthread_0.0.1-3_all.deb -RUN dpkg -i mingw64-x-pthread_0.0.1-3_all.deb - -# GNU/Linux compiler && build deps -RUN apt-get install -y \ - g++-4.8 \ - binutils \ - pkg-config \ - libx11-dev \ - libgl1-mesa-dev \ - liblo-dev \ - fftw3-dev \ - libsndfile-dev \ - libsamplerate0-dev \ - ladspa-sdk \ - libpthread-stubs0-dev - -RUN apt-get install -y make zip - -CMD [] diff --git a/docker-script b/docker-script deleted file mode 100644 index b75dde8..0000000 --- a/docker-script +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/bash -set -e - -CPUS=${CPUS:-4} -TRAVIS_TAG=${TRAVIS_TAG:-} - -rm -fr bin linux osx win32 win64 - -# GNU/Linux -export CC=gcc-4.8 -export CXX=g++-4.8 -export AR=ar -export CXXFLAGS= -export CFLAGS= -export LDFLAGS= -make clean -rm -fr bin -mkdir bin -make -j${CPUS} LINUX=true HAVE_CAIRO=false HAVE_JACK=false -mv bin linux - -# OSX -mkdir bin -export CC=i686-apple-darwin10-gcc -export CXX=i686-apple-darwin10-g++ -export AR=i686-apple-darwin10-ar -export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig -export CXXFLAGS="-I/opt/local/include" -export CFLAGS="-I/opt/local/include" -make clean -touch dpf/utils/lv2_ttl_generator -chmod a+x dpf/utils/lv2_ttl_generator -make MACOS=true MACOS_OLD=true -j${CPUS} HAVE_CAIRO=false HAVE_JACK=false -mv bin osx - -# WIN32 -mkdir bin -export PATH=$PATH:/opt/mingw64/bin -export CXXFLAGS="-m32 -I/opt/mingw64/x86_64-w64-mingw32/include -I/opt/mingw64/include" -export CFLAGS="-m32 -I/opt/mingw64/x86_64-w64-mingw32/include -I/opt/mingw64/include" -export LDFLAGS=-m32 -export PKG_CONFIG_PATH=/opt/mingw64/lib32/pkgconfig -export CC=x86_64-w64-mingw32-gcc -export CXX=x86_64-w64-mingw32-g++ -export AR=x86_64-w64-mingw32-ar -make clean -touch dpf/utils/lv2_ttl_generator.exe -chmod a+x dpf/utils/lv2_ttl_generator.exe -make WIN32=true -j${CPUS} HAVE_CAIRO=false HAVE_JACK=false -mv bin win32 - -# WIN64 -mkdir bin -export CXXFLAGS="-I/opt/mingw64/x86_64-w64-mingw32/include -I/opt/mingw64/include" -export CFLAGS="-I/opt/mingw64/x86_64-w64-mingw32/include -I/opt/mingw64/include" -export LDFLAGS= -export PKG_CONFIG_PATH=/opt/mingw64/lib/pkgconfig -make clean -touch dpf/utils/lv2_ttl_generator.exe -chmod a+x dpf/utils/lv2_ttl_generator.exe -make WIN32=true -j${CPUS} HAVE_CAIRO=false HAVE_JACK=false -mv bin win64 - -# Metadata for LV2 -mkdir bin -cd linux -for f in *.lv2; do cd $f; cp *.ttl ../../osx/$f/ ; cd .. ; done -for f in *.lv2; do cd $f; cp *.ttl ../../win32/$f/ ; cd .. ; done -for f in *.lv2; do cd $f; cp *.ttl ../../win64/$f/ ; cd .. ; done -cd ../osx -for f in *.lv2; do cd $f; perl -pi -e 's/\.so/\.dylib/g' manifest.ttl; perl -pi -e 's/X11UI/CocoaUI/g' manifest.ttl; cd .. ; done -cd ../win32 -for f in *.lv2; do cd $f; perl -pi -e 's/\.so/\.dll/g' manifest.ttl; perl -pi -e 's/X11UI/WindowsUI/g' manifest.ttl; cd .. ; done -cd ../win64 -for f in *.lv2; do cd $f; perl -pi -e 's/\.so/\.dll/g' manifest.ttl; perl -pi -e 's/X11UI/WindowsUI/g' manifest.ttl; cd .. ; done - -# Release -cd ../linux -zip -9 -r zam-plugins-${TRAVIS_TAG}-linuxlv2.zip *.lv2 -mv *.zip ../bin -cd ../osx -zip -9 -r zam-plugins-${TRAVIS_TAG}-osxlv2.zip *.lv2 -zip -9 -r zam-plugins-${TRAVIS_TAG}-osxvst.zip *.vst -mv *.zip ../bin -cd ../win32 -zip -9 -r zam-plugins-${TRAVIS_TAG}-win32lv2.zip *.lv2 -zip -9 -r zam-plugins-${TRAVIS_TAG}-win32vst.zip *-vst.dll -mv *.zip ../bin -cd ../win64 -zip -9 -r zam-plugins-${TRAVIS_TAG}-win64lv2.zip *.lv2 -zip -9 -r zam-plugins-${TRAVIS_TAG}-win64vst.zip *-vst.dll -mv *.zip ../bin -cd ../bin -ls -l -echo "ALL DONE!!!" diff --git a/make-all b/make-all deleted file mode 100755 index 3772be0..0000000 --- a/make-all +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -set -e - -docker build . -t zam-plugins-build:latest -docker run -v `pwd`:/tmp/build --entrypoint "/bin/bash" zam-plugins-build:latest -c "cd /tmp/build; bash docker-script" -- cgit v1.2.3