|
|
@@ -18,14 +18,10 @@ jobs: |
|
|
|
include: |
|
|
|
- name: linux-common |
|
|
|
installer: apt |
|
|
|
os: ubuntu-18.04 |
|
|
|
os: ubuntu-20.04 |
|
|
|
target: linux |
|
|
|
- name: macos-old-common |
|
|
|
installer: apt |
|
|
|
os: ubuntu-18.04 |
|
|
|
target: macos-old |
|
|
|
- name: macos-universal-common |
|
|
|
installer: brew |
|
|
|
installer: homebrew |
|
|
|
os: macos-10.15 |
|
|
|
target: macos-universal |
|
|
|
- name: win32-common |
|
|
@@ -43,72 +39,48 @@ jobs: |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
path: | |
|
|
|
~/PawPawBuilds/builds |
|
|
|
~/PawPawBuilds/debs |
|
|
|
~/PawPawBuilds/downloads |
|
|
|
~/PawPawBuilds/targets |
|
|
|
~/PawPawBuilds |
|
|
|
key: bootstrap-common-${{ matrix.target }} |
|
|
|
- name: Restore debian package cache |
|
|
|
- name: [apt] Restore debian package cache |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \ |
|
|
|
sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \ |
|
|
|
fi |
|
|
|
- name: Set up repositories (macos-old) |
|
|
|
if: ${{ matrix.target == 'macos-old' }} |
|
|
|
- name: [apt] Fix GitHub's mess |
|
|
|
run: | |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/toolchain |
|
|
|
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -y kxstudio-repos |
|
|
|
sudo apt-get update -qq |
|
|
|
- name: Set up cross-compiler (macos-old) |
|
|
|
if: ${{ matrix.target == 'macos-old' }} |
|
|
|
run: | |
|
|
|
mkdir -p ~/PawPawBuilds/debs |
|
|
|
cd ~/PawPawBuilds/debs && \ |
|
|
|
if [ ! -f 'apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb' ]; then \ |
|
|
|
wget -c 'https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb'; \ |
|
|
|
fi && \ |
|
|
|
if [ ! -f 'apple-x86-odcctools_758.159-0kxstudio2_amd64.deb' ]; then \ |
|
|
|
wget -c 'https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/apple-x86-odcctools_758.159-0kxstudio2_amd64.deb'; \ |
|
|
|
fi && \ |
|
|
|
if [ ! -f 'apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb' ]; then \ |
|
|
|
wget -c 'https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb'; \ |
|
|
|
fi && \ |
|
|
|
sudo dpkg -i \ |
|
|
|
'apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb' \ |
|
|
|
'apple-x86-odcctools_758.159-0kxstudio2_amd64.deb' \ |
|
|
|
'apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb' |
|
|
|
- name: Set up dependencies (apt) |
|
|
|
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal |
|
|
|
- name: [apt] Set up dependencies (apt) |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yq autopoint build-essential curl cmake jq meson |
|
|
|
sudo apt-get install -yqq autopoint build-essential curl cmake jq meson |
|
|
|
# extra, for using system libraries |
|
|
|
if [ '${{ matrix.target }}' == 'linux' ]; then \ |
|
|
|
sudo apt-get install -yq libglib2.0-dev; \ |
|
|
|
sudo apt-get install -yqq libdbus-1-dev libgl1-mesa-dev libglib2.0-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev; \ |
|
|
|
fi |
|
|
|
# extra, for win32 |
|
|
|
if [ '${{ matrix.target }}' == 'win32' ]; then \ |
|
|
|
sudo dpkg --add-architecture i386; \ |
|
|
|
sudo apt-get update -qq; \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
sudo apt-get install -yqq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
fi |
|
|
|
# extra, for win64 |
|
|
|
if [ '${{ matrix.target }}' == 'win64' ]; then \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
sudo apt-get install -yqq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
fi |
|
|
|
- name: Set up dependencies (brew) |
|
|
|
if: ${{ matrix.installer == 'brew' }} |
|
|
|
- name: [homebrew] Set up dependencies |
|
|
|
if: ${{ matrix.installer == 'homebrew' }} |
|
|
|
run: | |
|
|
|
brew install cmake jq meson |
|
|
|
- name: Fix up Xcode |
|
|
|
if: ${{ matrix.target == 'macos-universal' }} |
|
|
|
- name: [homebrew] Fix up Xcode |
|
|
|
if: ${{ matrix.installer == 'homebrew' }} |
|
|
|
run: | |
|
|
|
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
- name: Cache debian packages |
|
|
|
- name: [apt] Cache debian packages |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
mkdir -p ~/PawPawBuilds/debs |
|
|
@@ -126,412 +98,412 @@ jobs: |
|
|
|
name: bootstrap-common-${{ matrix.target }} |
|
|
|
path: bootstrap-common-${{ matrix.target }}.tar.gz |
|
|
|
|
|
|
|
bootstrap-plugins: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
include: |
|
|
|
- name: linux-plugins |
|
|
|
installer: apt |
|
|
|
os: ubuntu-18.04 |
|
|
|
target: linux |
|
|
|
- name: macos-old-plugins |
|
|
|
installer: apt |
|
|
|
os: ubuntu-18.04 |
|
|
|
target: macos-old |
|
|
|
- name: macos-universal-plugins |
|
|
|
installer: brew |
|
|
|
os: macos-10.15 |
|
|
|
target: macos-universal |
|
|
|
- name: win32-plugins |
|
|
|
installer: apt |
|
|
|
os: ubuntu-20.04 |
|
|
|
target: win32 |
|
|
|
- name: win64-plugins |
|
|
|
installer: apt |
|
|
|
os: ubuntu-20.04 |
|
|
|
target: win64 |
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
needs: bootstrap-common |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Set up cache |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
path: | |
|
|
|
~/PawPawBuilds/builds |
|
|
|
~/PawPawBuilds/debs |
|
|
|
~/PawPawBuilds/downloads |
|
|
|
~/PawPawBuilds/targets |
|
|
|
key: bootstrap-plugins-${{ matrix.target }} |
|
|
|
- name: Restore debian package cache |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \ |
|
|
|
sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \ |
|
|
|
fi |
|
|
|
- name: Set up repositories (macos-old) |
|
|
|
if: ${{ matrix.target == 'macos-old' }} |
|
|
|
run: | |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio |
|
|
|
sudo add-apt-repository -y ppa:kxstudio-debian/toolchain |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -y kxstudio-repos |
|
|
|
sudo apt-get update -qq |
|
|
|
- name: Set up cross-compiler (macos-old) |
|
|
|
if: ${{ matrix.target == 'macos-old' }} |
|
|
|
run: | |
|
|
|
mkdir -p ~/PawPawBuilds/debs |
|
|
|
cd ~/PawPawBuilds/debs && \ |
|
|
|
if [ ! -f 'apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb' ]; then \ |
|
|
|
wget -c 'https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb'; \ |
|
|
|
fi && \ |
|
|
|
if [ ! -f 'apple-x86-odcctools_758.159-0kxstudio2_amd64.deb' ]; then \ |
|
|
|
wget -c 'https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/apple-x86-odcctools_758.159-0kxstudio2_amd64.deb'; \ |
|
|
|
fi && \ |
|
|
|
if [ ! -f 'apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb' ]; then \ |
|
|
|
wget -c 'https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb'; \ |
|
|
|
fi && \ |
|
|
|
sudo dpkg -i \ |
|
|
|
'apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb' \ |
|
|
|
'apple-x86-odcctools_758.159-0kxstudio2_amd64.deb' \ |
|
|
|
'apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb' |
|
|
|
- name: Set up dependencies (apt) |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yq autopoint build-essential curl cmake jq meson |
|
|
|
# extra, for using system libraries |
|
|
|
if [ '${{ matrix.target }}' == 'linux' ]; then \ |
|
|
|
sudo apt-get install -yq libglib2.0-dev; \ |
|
|
|
fi |
|
|
|
# extra, for win32 |
|
|
|
if [ '${{ matrix.target }}' == 'win32' ]; then \ |
|
|
|
sudo dpkg --add-architecture i386; \ |
|
|
|
sudo apt-get update -qq; \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
fi |
|
|
|
# extra, for win64 |
|
|
|
if [ '${{ matrix.target }}' == 'win64' ]; then \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
fi |
|
|
|
- name: Set up dependencies (brew) |
|
|
|
if: ${{ matrix.installer == 'brew' }} |
|
|
|
run: | |
|
|
|
brew install cmake jq meson |
|
|
|
- name: Fix up Xcode |
|
|
|
if: ${{ matrix.target == 'macos-universal' }} |
|
|
|
run: | |
|
|
|
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
- name: Cache debian packages |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
mkdir -p ~/PawPawBuilds/debs |
|
|
|
sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/ |
|
|
|
- name: Download bootstrap-common-${{ matrix.target }} |
|
|
|
uses: actions/download-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-common-${{ matrix.target }} |
|
|
|
path: ~/PawPawBuilds |
|
|
|
- name: Extract bootstrap-common-${{ matrix.target }} |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
cd ~/PawPawBuilds && \ |
|
|
|
tar xf bootstrap-common-${{ matrix.target }}.tar.gz |
|
|
|
- name: Run bootstrap |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
./bootstrap-plugins.sh ${{ matrix.target }} && ./.cleanup.sh ${{ matrix.target }} |
|
|
|
- name: Pack bootstrap build |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
tar -C ~/PawPawBuilds -czf bootstrap-plugins-${{ matrix.target }}.tar.gz builds targets |
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-plugins-${{ matrix.target }} |
|
|
|
path: bootstrap-plugins-${{ matrix.target }}.tar.gz |
|
|
|
#bootstrap-plugins: |
|
|
|
#strategy: |
|
|
|
#matrix: |
|
|
|
#include: |
|
|
|
#- name: linux-plugins |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-18.04 |
|
|
|
#target: linux |
|
|
|
#- name: macos-old-plugins |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-18.04 |
|
|
|
#target: macos-old |
|
|
|
#- name: macos-universal-plugins |
|
|
|
#installer: brew |
|
|
|
#os: macos-10.15 |
|
|
|
#target: macos-universal |
|
|
|
#- name: win32-plugins |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-20.04 |
|
|
|
#target: win32 |
|
|
|
#- name: win64-plugins |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-20.04 |
|
|
|
#target: win64 |
|
|
|
#runs-on: ${{ matrix.os }} |
|
|
|
#needs: bootstrap-common |
|
|
|
#steps: |
|
|
|
#- uses: actions/checkout@v2 |
|
|
|
#- name: Set up cache |
|
|
|
#uses: actions/cache@v2 |
|
|
|
#with: |
|
|
|
#path: | |
|
|
|
#~/PawPawBuilds/builds |
|
|
|
#~/PawPawBuilds/debs |
|
|
|
#~/PawPawBuilds/downloads |
|
|
|
#~/PawPawBuilds/targets |
|
|
|
#key: bootstrap-plugins-${{ matrix.target }} |
|
|
|
#- name: Restore debian package cache |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \ |
|
|
|
#sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \ |
|
|
|
#fi |
|
|
|
#- name: Set up repositories (macos-old) |
|
|
|
#if: ${{ matrix.target == 'macos-old' }} |
|
|
|
#run: | |
|
|
|
#sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio |
|
|
|
#sudo add-apt-repository -y ppa:kxstudio-debian/toolchain |
|
|
|
#sudo apt-get update -qq |
|
|
|
#sudo apt-get install -y kxstudio-repos |
|
|
|
#sudo apt-get update -qq |
|
|
|
#- name: Set up cross-compiler (macos-old) |
|
|
|
#if: ${{ matrix.target == 'macos-old' }} |
|
|
|
#run: | |
|
|
|
#mkdir -p ~/PawPawBuilds/debs |
|
|
|
#cd ~/PawPawBuilds/debs && \ |
|
|
|
#if [ ! -f 'apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb' ]; then \ |
|
|
|
#wget -c 'https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb'; \ |
|
|
|
#fi && \ |
|
|
|
#if [ ! -f 'apple-x86-odcctools_758.159-0kxstudio2_amd64.deb' ]; then \ |
|
|
|
#wget -c 'https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/apple-x86-odcctools_758.159-0kxstudio2_amd64.deb'; \ |
|
|
|
#fi && \ |
|
|
|
#if [ ! -f 'apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb' ]; then \ |
|
|
|
#wget -c 'https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb'; \ |
|
|
|
#fi && \ |
|
|
|
#sudo dpkg -i \ |
|
|
|
#'apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb' \ |
|
|
|
#'apple-x86-odcctools_758.159-0kxstudio2_amd64.deb' \ |
|
|
|
#'apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb' |
|
|
|
#- name: Set up dependencies (apt) |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#sudo apt-get update -qq |
|
|
|
#sudo apt-get install -yq autopoint build-essential curl cmake jq meson |
|
|
|
## extra, for using system libraries |
|
|
|
#if [ '${{ matrix.target }}' == 'linux' ]; then \ |
|
|
|
#sudo apt-get install -yq libglib2.0-dev; \ |
|
|
|
#fi |
|
|
|
## extra, for win32 |
|
|
|
#if [ '${{ matrix.target }}' == 'win32' ]; then \ |
|
|
|
#sudo dpkg --add-architecture i386; \ |
|
|
|
#sudo apt-get update -qq; \ |
|
|
|
#sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
#fi |
|
|
|
## extra, for win64 |
|
|
|
#if [ '${{ matrix.target }}' == 'win64' ]; then \ |
|
|
|
#sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
#fi |
|
|
|
#- name: Set up dependencies (brew) |
|
|
|
#if: ${{ matrix.installer == 'brew' }} |
|
|
|
#run: | |
|
|
|
#brew install cmake jq meson |
|
|
|
#- name: Fix up Xcode |
|
|
|
#if: ${{ matrix.target == 'macos-universal' }} |
|
|
|
#run: | |
|
|
|
#sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
#sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
#- name: Cache debian packages |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#mkdir -p ~/PawPawBuilds/debs |
|
|
|
#sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/ |
|
|
|
#- name: Download bootstrap-common-${{ matrix.target }} |
|
|
|
#uses: actions/download-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-common-${{ matrix.target }} |
|
|
|
#path: ~/PawPawBuilds |
|
|
|
#- name: Extract bootstrap-common-${{ matrix.target }} |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#cd ~/PawPawBuilds && \ |
|
|
|
#tar xf bootstrap-common-${{ matrix.target }}.tar.gz |
|
|
|
#- name: Run bootstrap |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#./bootstrap-plugins.sh ${{ matrix.target }} && ./.cleanup.sh ${{ matrix.target }} |
|
|
|
#- name: Pack bootstrap build |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#tar -C ~/PawPawBuilds -czf bootstrap-plugins-${{ matrix.target }}.tar.gz builds targets |
|
|
|
#- uses: actions/upload-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-plugins-${{ matrix.target }} |
|
|
|
#path: bootstrap-plugins-${{ matrix.target }}.tar.gz |
|
|
|
|
|
|
|
bootstrap-jack2: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
include: |
|
|
|
- name: macos-universal-jack2 |
|
|
|
installer: brew |
|
|
|
os: macos-10.15 |
|
|
|
target: macos-universal |
|
|
|
- name: win32-jack2 |
|
|
|
installer: apt |
|
|
|
os: ubuntu-20.04 |
|
|
|
target: win32 |
|
|
|
- name: win64-jack2 |
|
|
|
installer: apt |
|
|
|
os: ubuntu-20.04 |
|
|
|
target: win64 |
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
needs: bootstrap-common |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Set up cache |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
path: | |
|
|
|
~/PawPawBuilds/builds |
|
|
|
~/PawPawBuilds/debs |
|
|
|
~/PawPawBuilds/downloads |
|
|
|
~/PawPawBuilds/targets |
|
|
|
key: bootstrap-jack2-${{ matrix.target }} |
|
|
|
- name: Restore debian package cache |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \ |
|
|
|
sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \ |
|
|
|
fi |
|
|
|
- name: Set up dependencies (apt) |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yq autopoint build-essential curl cmake jq meson |
|
|
|
# extra, for using system libraries |
|
|
|
if [ '${{ matrix.target }}' == 'linux' ]; then \ |
|
|
|
sudo apt-get install -yq libglib2.0-dev; \ |
|
|
|
fi |
|
|
|
# extra, for win32 |
|
|
|
if [ '${{ matrix.target }}' == 'win32' ]; then \ |
|
|
|
sudo dpkg --add-architecture i386; \ |
|
|
|
sudo apt-get update -qq; \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
fi |
|
|
|
# extra, for win64 |
|
|
|
if [ '${{ matrix.target }}' == 'win64' ]; then \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
fi |
|
|
|
- name: Set up dependencies (brew) |
|
|
|
if: ${{ matrix.installer == 'brew' }} |
|
|
|
run: | |
|
|
|
brew install cmake jq meson |
|
|
|
- name: Fix up Xcode |
|
|
|
if: ${{ matrix.target == 'macos-universal' }} |
|
|
|
run: | |
|
|
|
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
- name: Cache debian packages |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
mkdir -p ~/PawPawBuilds/debs |
|
|
|
sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/ |
|
|
|
- name: Download bootstrap-common-${{ matrix.target }} |
|
|
|
uses: actions/download-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-common-${{ matrix.target }} |
|
|
|
path: ~/PawPawBuilds |
|
|
|
- name: Extract bootstrap-common-${{ matrix.target }} |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
cd ~/PawPawBuilds && \ |
|
|
|
tar xf bootstrap-common-${{ matrix.target }}.tar.gz |
|
|
|
- name: Run bootstrap |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
./bootstrap-jack2.sh ${{ matrix.target }} && ./.cleanup.sh ${{ matrix.target }} |
|
|
|
- name: Pack bootstrap build |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
tar -C ~/PawPawBuilds -czf bootstrap-jack2-${{ matrix.target }}.tar.gz builds targets |
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-jack2-${{ matrix.target }} |
|
|
|
path: bootstrap-jack2-${{ matrix.target }}.tar.gz |
|
|
|
#bootstrap-jack2: |
|
|
|
#strategy: |
|
|
|
#matrix: |
|
|
|
#include: |
|
|
|
#- name: macos-universal-jack2 |
|
|
|
#installer: brew |
|
|
|
#os: macos-10.15 |
|
|
|
#target: macos-universal |
|
|
|
#- name: win32-jack2 |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-20.04 |
|
|
|
#target: win32 |
|
|
|
#- name: win64-jack2 |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-20.04 |
|
|
|
#target: win64 |
|
|
|
#runs-on: ${{ matrix.os }} |
|
|
|
#needs: bootstrap-common |
|
|
|
#steps: |
|
|
|
#- uses: actions/checkout@v2 |
|
|
|
#- name: Set up cache |
|
|
|
#uses: actions/cache@v2 |
|
|
|
#with: |
|
|
|
#path: | |
|
|
|
#~/PawPawBuilds/builds |
|
|
|
#~/PawPawBuilds/debs |
|
|
|
#~/PawPawBuilds/downloads |
|
|
|
#~/PawPawBuilds/targets |
|
|
|
#key: bootstrap-jack2-${{ matrix.target }} |
|
|
|
#- name: Restore debian package cache |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \ |
|
|
|
#sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \ |
|
|
|
#fi |
|
|
|
#- name: Set up dependencies (apt) |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#sudo apt-get update -qq |
|
|
|
#sudo apt-get install -yq autopoint build-essential curl cmake jq meson |
|
|
|
## extra, for using system libraries |
|
|
|
#if [ '${{ matrix.target }}' == 'linux' ]; then \ |
|
|
|
#sudo apt-get install -yq libglib2.0-dev; \ |
|
|
|
#fi |
|
|
|
## extra, for win32 |
|
|
|
#if [ '${{ matrix.target }}' == 'win32' ]; then \ |
|
|
|
#sudo dpkg --add-architecture i386; \ |
|
|
|
#sudo apt-get update -qq; \ |
|
|
|
#sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
#fi |
|
|
|
## extra, for win64 |
|
|
|
#if [ '${{ matrix.target }}' == 'win64' ]; then \ |
|
|
|
#sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
#fi |
|
|
|
#- name: Set up dependencies (brew) |
|
|
|
#if: ${{ matrix.installer == 'brew' }} |
|
|
|
#run: | |
|
|
|
#brew install cmake jq meson |
|
|
|
#- name: Fix up Xcode |
|
|
|
#if: ${{ matrix.target == 'macos-universal' }} |
|
|
|
#run: | |
|
|
|
#sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
#sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
#- name: Cache debian packages |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#mkdir -p ~/PawPawBuilds/debs |
|
|
|
#sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/ |
|
|
|
#- name: Download bootstrap-common-${{ matrix.target }} |
|
|
|
#uses: actions/download-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-common-${{ matrix.target }} |
|
|
|
#path: ~/PawPawBuilds |
|
|
|
#- name: Extract bootstrap-common-${{ matrix.target }} |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#cd ~/PawPawBuilds && \ |
|
|
|
#tar xf bootstrap-common-${{ matrix.target }}.tar.gz |
|
|
|
#- name: Run bootstrap |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#./bootstrap-jack2.sh ${{ matrix.target }} && ./.cleanup.sh ${{ matrix.target }} |
|
|
|
#- name: Pack bootstrap build |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#tar -C ~/PawPawBuilds -czf bootstrap-jack2-${{ matrix.target }}.tar.gz builds targets |
|
|
|
#- uses: actions/upload-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-jack2-${{ matrix.target }} |
|
|
|
#path: bootstrap-jack2-${{ matrix.target }}.tar.gz |
|
|
|
|
|
|
|
bootstrap-qt: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
include: |
|
|
|
- name: macos-universal-qt |
|
|
|
installer: brew |
|
|
|
os: macos-10.15 |
|
|
|
target: macos-universal |
|
|
|
- name: win32-qt |
|
|
|
installer: apt |
|
|
|
os: ubuntu-20.04 |
|
|
|
target: win32 |
|
|
|
- name: win64-qt |
|
|
|
installer: apt |
|
|
|
os: ubuntu-20.04 |
|
|
|
target: win64 |
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
needs: bootstrap-common |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Set up cache |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
path: | |
|
|
|
~/PawPawBuilds/builds |
|
|
|
~/PawPawBuilds/debs |
|
|
|
~/PawPawBuilds/downloads |
|
|
|
~/PawPawBuilds/targets |
|
|
|
key: bootstrap-qt-${{ matrix.target }} |
|
|
|
- name: Restore debian package cache |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \ |
|
|
|
sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \ |
|
|
|
fi |
|
|
|
- name: Set up dependencies (apt) |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yq autopoint build-essential curl cmake jq meson |
|
|
|
# extra, for using system libraries |
|
|
|
if [ '${{ matrix.target }}' == 'linux' ]; then \ |
|
|
|
sudo apt-get install -yq libglib2.0-dev; \ |
|
|
|
fi |
|
|
|
# extra, for win32 |
|
|
|
if [ '${{ matrix.target }}' == 'win32' ]; then \ |
|
|
|
sudo dpkg --add-architecture i386; \ |
|
|
|
sudo apt-get update -qq; \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
fi |
|
|
|
# extra, for win64 |
|
|
|
if [ '${{ matrix.target }}' == 'win64' ]; then \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
fi |
|
|
|
- name: Set up dependencies (brew) |
|
|
|
if: ${{ matrix.installer == 'brew' }} |
|
|
|
run: | |
|
|
|
brew install cmake jq meson |
|
|
|
- name: Fix up Xcode |
|
|
|
if: ${{ matrix.target == 'macos-universal' }} |
|
|
|
run: | |
|
|
|
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
- name: Cache debian packages |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
mkdir -p ~/PawPawBuilds/debs |
|
|
|
sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/ |
|
|
|
- name: Download bootstrap-common-${{ matrix.target }} |
|
|
|
uses: actions/download-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-common-${{ matrix.target }} |
|
|
|
path: ~/PawPawBuilds |
|
|
|
- name: Extract bootstrap-common-${{ matrix.target }} |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
cd ~/PawPawBuilds && \ |
|
|
|
tar xf bootstrap-common-${{ matrix.target }}.tar.gz |
|
|
|
- name: Run bootstrap |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
./bootstrap-qt.sh ${{ matrix.target }} && ./.cleanup.sh ${{ matrix.target }} |
|
|
|
- name: Pack bootstrap build |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
tar -C ~/PawPawBuilds -czf bootstrap-qt-${{ matrix.target }}.tar.gz builds targets |
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-qt-${{ matrix.target }} |
|
|
|
path: bootstrap-qt-${{ matrix.target }}.tar.gz |
|
|
|
#bootstrap-qt: |
|
|
|
#strategy: |
|
|
|
#matrix: |
|
|
|
#include: |
|
|
|
#- name: macos-universal-qt |
|
|
|
#installer: brew |
|
|
|
#os: macos-10.15 |
|
|
|
#target: macos-universal |
|
|
|
#- name: win32-qt |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-20.04 |
|
|
|
#target: win32 |
|
|
|
#- name: win64-qt |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-20.04 |
|
|
|
#target: win64 |
|
|
|
#runs-on: ${{ matrix.os }} |
|
|
|
#needs: bootstrap-common |
|
|
|
#steps: |
|
|
|
#- uses: actions/checkout@v2 |
|
|
|
#- name: Set up cache |
|
|
|
#uses: actions/cache@v2 |
|
|
|
#with: |
|
|
|
#path: | |
|
|
|
#~/PawPawBuilds/builds |
|
|
|
#~/PawPawBuilds/debs |
|
|
|
#~/PawPawBuilds/downloads |
|
|
|
#~/PawPawBuilds/targets |
|
|
|
#key: bootstrap-qt-${{ matrix.target }} |
|
|
|
#- name: Restore debian package cache |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \ |
|
|
|
#sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \ |
|
|
|
#fi |
|
|
|
#- name: Set up dependencies (apt) |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#sudo apt-get update -qq |
|
|
|
#sudo apt-get install -yq autopoint build-essential curl cmake jq meson |
|
|
|
## extra, for using system libraries |
|
|
|
#if [ '${{ matrix.target }}' == 'linux' ]; then \ |
|
|
|
#sudo apt-get install -yq libglib2.0-dev; \ |
|
|
|
#fi |
|
|
|
## extra, for win32 |
|
|
|
#if [ '${{ matrix.target }}' == 'win32' ]; then \ |
|
|
|
#sudo dpkg --add-architecture i386; \ |
|
|
|
#sudo apt-get update -qq; \ |
|
|
|
#sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
#fi |
|
|
|
## extra, for win64 |
|
|
|
#if [ '${{ matrix.target }}' == 'win64' ]; then \ |
|
|
|
#sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
#fi |
|
|
|
#- name: Set up dependencies (brew) |
|
|
|
#if: ${{ matrix.installer == 'brew' }} |
|
|
|
#run: | |
|
|
|
#brew install cmake jq meson |
|
|
|
#- name: Fix up Xcode |
|
|
|
#if: ${{ matrix.target == 'macos-universal' }} |
|
|
|
#run: | |
|
|
|
#sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
#sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
#- name: Cache debian packages |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#mkdir -p ~/PawPawBuilds/debs |
|
|
|
#sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/ |
|
|
|
#- name: Download bootstrap-common-${{ matrix.target }} |
|
|
|
#uses: actions/download-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-common-${{ matrix.target }} |
|
|
|
#path: ~/PawPawBuilds |
|
|
|
#- name: Extract bootstrap-common-${{ matrix.target }} |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#cd ~/PawPawBuilds && \ |
|
|
|
#tar xf bootstrap-common-${{ matrix.target }}.tar.gz |
|
|
|
#- name: Run bootstrap |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#./bootstrap-qt.sh ${{ matrix.target }} && ./.cleanup.sh ${{ matrix.target }} |
|
|
|
#- name: Pack bootstrap build |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#tar -C ~/PawPawBuilds -czf bootstrap-qt-${{ matrix.target }}.tar.gz builds targets |
|
|
|
#- uses: actions/upload-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-qt-${{ matrix.target }} |
|
|
|
#path: bootstrap-qt-${{ matrix.target }}.tar.gz |
|
|
|
|
|
|
|
bootstrap-carla: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
include: |
|
|
|
- name: macos-universal-carla |
|
|
|
installer: brew |
|
|
|
os: macos-10.15 |
|
|
|
target: macos-universal |
|
|
|
- name: win32-carla |
|
|
|
installer: apt |
|
|
|
os: ubuntu-20.04 |
|
|
|
target: win32 |
|
|
|
- name: win64-carla |
|
|
|
installer: apt |
|
|
|
os: ubuntu-20.04 |
|
|
|
target: win64 |
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
needs: [bootstrap-plugins, bootstrap-qt] |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Set up cache |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
path: | |
|
|
|
~/PawPawBuilds/builds |
|
|
|
~/PawPawBuilds/debs |
|
|
|
~/PawPawBuilds/downloads |
|
|
|
~/PawPawBuilds/targets |
|
|
|
key: bootstrap-carla-${{ matrix.target }} |
|
|
|
- name: Restore debian package cache |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \ |
|
|
|
sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \ |
|
|
|
fi |
|
|
|
- name: Set up dependencies (apt) |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yq autopoint build-essential curl cmake jq meson |
|
|
|
# extra, for using system libraries |
|
|
|
if [ '${{ matrix.target }}' == 'linux' ]; then \ |
|
|
|
sudo apt-get install -yq libglib2.0-dev; \ |
|
|
|
fi |
|
|
|
# extra, for win32 |
|
|
|
if [ '${{ matrix.target }}' == 'win32' ]; then \ |
|
|
|
sudo dpkg --add-architecture i386; \ |
|
|
|
sudo apt-get update -qq; \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
fi |
|
|
|
# extra, for win64 |
|
|
|
if [ '${{ matrix.target }}' == 'win64' ]; then \ |
|
|
|
sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
fi |
|
|
|
- name: Set up dependencies (brew) |
|
|
|
if: ${{ matrix.installer == 'brew' }} |
|
|
|
run: | |
|
|
|
brew install cmake jq meson |
|
|
|
- name: Fix up Xcode |
|
|
|
if: ${{ matrix.target == 'macos-universal' }} |
|
|
|
run: | |
|
|
|
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
- name: Cache debian packages |
|
|
|
if: ${{ matrix.installer == 'apt' }} |
|
|
|
run: | |
|
|
|
mkdir -p ~/PawPawBuilds/debs |
|
|
|
sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/ |
|
|
|
- name: Download bootstrap-common-${{ matrix.target }} |
|
|
|
uses: actions/download-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-common-${{ matrix.target }} |
|
|
|
path: ~/PawPawBuilds |
|
|
|
- name: Download bootstrap-qt-${{ matrix.target }} |
|
|
|
uses: actions/download-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-qt-${{ matrix.target }} |
|
|
|
path: ~/PawPawBuilds |
|
|
|
- name: Download bootstrap-plugins-${{ matrix.target }} |
|
|
|
uses: actions/download-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-plugins-${{ matrix.target }} |
|
|
|
path: ~/PawPawBuilds |
|
|
|
- name: Extract bootstrap-{common,plugins,qt}-${{ matrix.target }} |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
cd ~/PawPawBuilds && \ |
|
|
|
tar xf bootstrap-common-${{ matrix.target }}.tar.gz && \ |
|
|
|
tar xf bootstrap-plugins-${{ matrix.target }}.tar.gz && \ |
|
|
|
tar xf bootstrap-qt-${{ matrix.target }}.tar.gz |
|
|
|
- name: Run bootstrap |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
./bootstrap-carla.sh ${{ matrix.target }} && ./.cleanup.sh ${{ matrix.target }} |
|
|
|
- name: Pack bootstrap build |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
tar -C ~/PawPawBuilds -czf bootstrap-carla-${{ matrix.target }}.tar.gz builds targets |
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
with: |
|
|
|
name: bootstrap-carla-${{ matrix.target }} |
|
|
|
path: bootstrap-carla-${{ matrix.target }}.tar.gz |
|
|
|
#bootstrap-carla: |
|
|
|
#strategy: |
|
|
|
#matrix: |
|
|
|
#include: |
|
|
|
#- name: macos-universal-carla |
|
|
|
#installer: brew |
|
|
|
#os: macos-10.15 |
|
|
|
#target: macos-universal |
|
|
|
#- name: win32-carla |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-20.04 |
|
|
|
#target: win32 |
|
|
|
#- name: win64-carla |
|
|
|
#installer: apt |
|
|
|
#os: ubuntu-20.04 |
|
|
|
#target: win64 |
|
|
|
#runs-on: ${{ matrix.os }} |
|
|
|
#needs: [bootstrap-plugins, bootstrap-qt] |
|
|
|
#steps: |
|
|
|
#- uses: actions/checkout@v2 |
|
|
|
#- name: Set up cache |
|
|
|
#uses: actions/cache@v2 |
|
|
|
#with: |
|
|
|
#path: | |
|
|
|
#~/PawPawBuilds/builds |
|
|
|
#~/PawPawBuilds/debs |
|
|
|
#~/PawPawBuilds/downloads |
|
|
|
#~/PawPawBuilds/targets |
|
|
|
#key: bootstrap-carla-${{ matrix.target }} |
|
|
|
#- name: Restore debian package cache |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \ |
|
|
|
#sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \ |
|
|
|
#fi |
|
|
|
#- name: Set up dependencies (apt) |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#sudo apt-get update -qq |
|
|
|
#sudo apt-get install -yq autopoint build-essential curl cmake jq meson |
|
|
|
## extra, for using system libraries |
|
|
|
#if [ '${{ matrix.target }}' == 'linux' ]; then \ |
|
|
|
#sudo apt-get install -yq libglib2.0-dev; \ |
|
|
|
#fi |
|
|
|
## extra, for win32 |
|
|
|
#if [ '${{ matrix.target }}' == 'win32' ]; then \ |
|
|
|
#sudo dpkg --add-architecture i386; \ |
|
|
|
#sudo apt-get update -qq; \ |
|
|
|
#sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386; \ |
|
|
|
#fi |
|
|
|
## extra, for win64 |
|
|
|
#if [ '${{ matrix.target }}' == 'win64' ]; then \ |
|
|
|
#sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable; \ |
|
|
|
#fi |
|
|
|
#- name: Set up dependencies (brew) |
|
|
|
#if: ${{ matrix.installer == 'brew' }} |
|
|
|
#run: | |
|
|
|
#brew install cmake jq meson |
|
|
|
#- name: Fix up Xcode |
|
|
|
#if: ${{ matrix.target == 'macos-universal' }} |
|
|
|
#run: | |
|
|
|
#sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
#sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
#- name: Cache debian packages |
|
|
|
#if: ${{ matrix.installer == 'apt' }} |
|
|
|
#run: | |
|
|
|
#mkdir -p ~/PawPawBuilds/debs |
|
|
|
#sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/ |
|
|
|
#- name: Download bootstrap-common-${{ matrix.target }} |
|
|
|
#uses: actions/download-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-common-${{ matrix.target }} |
|
|
|
#path: ~/PawPawBuilds |
|
|
|
#- name: Download bootstrap-qt-${{ matrix.target }} |
|
|
|
#uses: actions/download-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-qt-${{ matrix.target }} |
|
|
|
#path: ~/PawPawBuilds |
|
|
|
#- name: Download bootstrap-plugins-${{ matrix.target }} |
|
|
|
#uses: actions/download-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-plugins-${{ matrix.target }} |
|
|
|
#path: ~/PawPawBuilds |
|
|
|
#- name: Extract bootstrap-{common,plugins,qt}-${{ matrix.target }} |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#cd ~/PawPawBuilds && \ |
|
|
|
#tar xf bootstrap-common-${{ matrix.target }}.tar.gz && \ |
|
|
|
#tar xf bootstrap-plugins-${{ matrix.target }}.tar.gz && \ |
|
|
|
#tar xf bootstrap-qt-${{ matrix.target }}.tar.gz |
|
|
|
#- name: Run bootstrap |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#./bootstrap-carla.sh ${{ matrix.target }} && ./.cleanup.sh ${{ matrix.target }} |
|
|
|
#- name: Pack bootstrap build |
|
|
|
#shell: bash |
|
|
|
#run: | |
|
|
|
#tar -C ~/PawPawBuilds -czf bootstrap-carla-${{ matrix.target }}.tar.gz builds targets |
|
|
|
#- uses: actions/upload-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: bootstrap-carla-${{ matrix.target }} |
|
|
|
#path: bootstrap-carla-${{ matrix.target }}.tar.gz |