|
|
@@ -287,9 +287,9 @@ jobs: |
|
|
|
run: | |
|
|
|
meson build --buildtype=debug --prefix=/usr |
|
|
|
ninja -C build |
|
|
|
- name: Install linux x86_64 |
|
|
|
- name: Install linux x86_64 (debug) |
|
|
|
run: | |
|
|
|
ninja -C build install (debug) |
|
|
|
ninja -C build install |
|
|
|
- name: Set sha8 |
|
|
|
id: slug |
|
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
@@ -410,100 +410,100 @@ jobs: |
|
|
|
path: | |
|
|
|
*.tar.gz |
|
|
|
|
|
|
|
win32: |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
#- name: Set up cache |
|
|
|
#id: cache |
|
|
|
#uses: actions/cache@v2 |
|
|
|
#win32: |
|
|
|
#runs-on: ubuntu-20.04 |
|
|
|
#steps: |
|
|
|
#- uses: actions/checkout@v2 |
|
|
|
##- name: Set up cache |
|
|
|
##id: cache |
|
|
|
##uses: actions/cache@v2 |
|
|
|
##with: |
|
|
|
##path: | |
|
|
|
##build |
|
|
|
##key: win32-v${{ env.CACHE_VERSION }} |
|
|
|
#- name: Fix GitHub's mess |
|
|
|
#run: | |
|
|
|
#sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list |
|
|
|
#sudo apt-get update -qq |
|
|
|
#sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal |
|
|
|
#- name: Set up dependencies |
|
|
|
#run: | |
|
|
|
#sudo dpkg --add-architecture i386 |
|
|
|
#sudo apt-get update -qq |
|
|
|
#sudo apt-get install -yqq build-essential meson |
|
|
|
#sudo apt-get install -yqq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386 qttools5-dev qttools5-dev-tools xvfb |
|
|
|
#- name: Build win32 cross-compiled |
|
|
|
#run: | |
|
|
|
#meson build --buildtype=release --prefix=/usr --cross-file scripts/meson/win32.ini |
|
|
|
#ninja -C build |
|
|
|
#- name: Install win32 |
|
|
|
#run: | |
|
|
|
#ninja -C build install |
|
|
|
#- name: Set sha8 (non-release) |
|
|
|
#if: startsWith(github.ref, 'refs/tags/') != true |
|
|
|
#id: slug1 |
|
|
|
#run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
#- name: Set sha8 (release) |
|
|
|
#if: startsWith(github.ref, 'refs/tags/') |
|
|
|
#id: slug2 |
|
|
|
#run: echo "::set-output name=sha8::$(echo ${{ github.ref_name }})" |
|
|
|
#- name: Set sha8 |
|
|
|
#id: slug |
|
|
|
#run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})" |
|
|
|
#- name: Pack binaries |
|
|
|
#run: | |
|
|
|
#tar czf ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C ${{ env.DESTDIR }}/usr/lib lv2 vst vst3 |
|
|
|
#- uses: actions/upload-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
#path: | |
|
|
|
#build |
|
|
|
#key: win32-v${{ env.CACHE_VERSION }} |
|
|
|
- name: Fix GitHub's mess |
|
|
|
run: | |
|
|
|
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal |
|
|
|
- name: Set up dependencies |
|
|
|
run: | |
|
|
|
sudo dpkg --add-architecture i386 |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yqq build-essential meson |
|
|
|
sudo apt-get install -yqq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386 qttools5-dev qttools5-dev-tools xvfb |
|
|
|
- name: Build win32 cross-compiled |
|
|
|
run: | |
|
|
|
meson build --buildtype=release --prefix=/usr --cross-file scripts/meson/win32.ini |
|
|
|
ninja -C build |
|
|
|
- name: Install win32 |
|
|
|
run: | |
|
|
|
ninja -C build install |
|
|
|
- name: Set sha8 (non-release) |
|
|
|
if: startsWith(github.ref, 'refs/tags/') != true |
|
|
|
id: slug1 |
|
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
- name: Set sha8 (release) |
|
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
|
id: slug2 |
|
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.ref_name }})" |
|
|
|
- name: Set sha8 |
|
|
|
id: slug |
|
|
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})" |
|
|
|
- name: Pack binaries |
|
|
|
run: | |
|
|
|
tar czf ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C ${{ env.DESTDIR }}/usr/lib lv2 vst vst3 |
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
with: |
|
|
|
name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
path: | |
|
|
|
*.tar.gz |
|
|
|
#*.tar.gz |
|
|
|
|
|
|
|
win64: |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
#- name: Set up cache |
|
|
|
#id: cache |
|
|
|
#uses: actions/cache@v2 |
|
|
|
#win64: |
|
|
|
#runs-on: ubuntu-20.04 |
|
|
|
#steps: |
|
|
|
#- uses: actions/checkout@v2 |
|
|
|
##- name: Set up cache |
|
|
|
##id: cache |
|
|
|
##uses: actions/cache@v2 |
|
|
|
##with: |
|
|
|
##path: | |
|
|
|
##build |
|
|
|
##key: win64-v${{ env.CACHE_VERSION }} |
|
|
|
#- name: Fix GitHub's mess |
|
|
|
#run: | |
|
|
|
#sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list |
|
|
|
#sudo apt-get update -qq |
|
|
|
#sudo apt-get install -yqq build-essential meson |
|
|
|
#sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal |
|
|
|
#- name: Set up dependencies |
|
|
|
#run: | |
|
|
|
#sudo dpkg --add-architecture i386 |
|
|
|
#sudo apt-get update -qq |
|
|
|
#sudo apt-get install -yqq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable qttools5-dev qttools5-dev-tools xvfb |
|
|
|
#- name: Build win64 cross-compiled |
|
|
|
#run: | |
|
|
|
#meson build --buildtype=release --prefix=/usr --cross-file scripts/meson/win64.ini |
|
|
|
#ninja -C build |
|
|
|
#- name: Install win64 |
|
|
|
#run: | |
|
|
|
#ninja -C build install |
|
|
|
#- name: Set sha8 (non-release) |
|
|
|
#if: startsWith(github.ref, 'refs/tags/') != true |
|
|
|
#id: slug1 |
|
|
|
#run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
#- name: Set sha8 (release) |
|
|
|
#if: startsWith(github.ref, 'refs/tags/') |
|
|
|
#id: slug2 |
|
|
|
#run: echo "::set-output name=sha8::$(echo ${{ github.ref_name }})" |
|
|
|
#- name: Set sha8 |
|
|
|
#id: slug |
|
|
|
#run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})" |
|
|
|
#- name: Pack binaries |
|
|
|
#run: | |
|
|
|
#tar czf ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C ${{ env.DESTDIR }}/usr/lib lv2 vst vst3 |
|
|
|
#- uses: actions/upload-artifact@v2 |
|
|
|
#with: |
|
|
|
#name: ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
#path: | |
|
|
|
#build |
|
|
|
#key: win64-v${{ env.CACHE_VERSION }} |
|
|
|
- name: Fix GitHub's mess |
|
|
|
run: | |
|
|
|
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yqq build-essential meson |
|
|
|
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal |
|
|
|
- name: Set up dependencies |
|
|
|
run: | |
|
|
|
sudo dpkg --add-architecture i386 |
|
|
|
sudo apt-get update -qq |
|
|
|
sudo apt-get install -yqq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable qttools5-dev qttools5-dev-tools xvfb |
|
|
|
- name: Build win64 cross-compiled |
|
|
|
run: | |
|
|
|
meson build --buildtype=release --prefix=/usr --cross-file scripts/meson/win64.ini |
|
|
|
ninja -C build |
|
|
|
- name: Install win64 |
|
|
|
run: | |
|
|
|
ninja -C build install |
|
|
|
- name: Set sha8 (non-release) |
|
|
|
if: startsWith(github.ref, 'refs/tags/') != true |
|
|
|
id: slug1 |
|
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
- name: Set sha8 (release) |
|
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
|
id: slug2 |
|
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.ref_name }})" |
|
|
|
- name: Set sha8 |
|
|
|
id: slug |
|
|
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})" |
|
|
|
- name: Pack binaries |
|
|
|
run: | |
|
|
|
tar czf ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C ${{ env.DESTDIR }}/usr/lib lv2 vst vst3 |
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
with: |
|
|
|
name: ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
path: | |
|
|
|
*.tar.gz |
|
|
|
#*.tar.gz |