Adjust CI to use correct names on release
This commit is contained in:
parent
06261deb87
commit
6e1ad60169
2 changed files with 78 additions and 11 deletions
87
.github/workflows/build.yml
vendored
87
.github/workflows/build.yml
vendored
|
|
@ -47,9 +47,17 @@ jobs:
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true -j $(nproc)
|
make NOOPT=true WITH_LTO=true -j $(nproc)
|
||||||
make unzipfx
|
make unzipfx
|
||||||
|
- 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
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
||||||
- name: Pack binaries
|
- name: Pack binaries
|
||||||
run: |
|
run: |
|
||||||
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep -e lv2 -e vst) ../Cardinal
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep -e lv2 -e vst) ../Cardinal
|
||||||
|
|
@ -105,9 +113,17 @@ jobs:
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true -j $(nproc)
|
make NOOPT=true WITH_LTO=true -j $(nproc)
|
||||||
make unzipfx
|
make unzipfx
|
||||||
|
- 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
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
||||||
- name: Pack binaries
|
- name: Pack binaries
|
||||||
run: |
|
run: |
|
||||||
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-linux-armhf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep -e lv2 -e vst) ../Cardinal
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-linux-armhf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep -e lv2 -e vst) ../Cardinal
|
||||||
|
|
@ -159,9 +175,17 @@ jobs:
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true -j $(nproc)
|
make NOOPT=true WITH_LTO=true -j $(nproc)
|
||||||
make unzipfx
|
make unzipfx
|
||||||
|
- 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
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
||||||
- name: Pack binaries
|
- name: Pack binaries
|
||||||
run: |
|
run: |
|
||||||
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-linux-i686-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep -e lv2 -e vst) ../Cardinal
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-linux-i686-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep -e lv2 -e vst) ../Cardinal
|
||||||
|
|
@ -205,9 +229,17 @@ jobs:
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true -j $(nproc)
|
make NOOPT=true WITH_LTO=true -j $(nproc)
|
||||||
make unzipfx
|
make unzipfx
|
||||||
|
- 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
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
||||||
- name: Pack binaries
|
- name: Pack binaries
|
||||||
run: |
|
run: |
|
||||||
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-linux-x86_64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep -e lv2 -e vst) ../Cardinal
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-linux-x86_64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep -e lv2 -e vst) ../Cardinal
|
||||||
|
|
@ -310,14 +342,25 @@ jobs:
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true -j $(sysctl -n hw.logicalcpu)
|
make NOOPT=true WITH_LTO=true -j $(sysctl -n hw.logicalcpu)
|
||||||
./dpf/utils/package-osx-bundles.sh
|
./dpf/utils/package-osx-bundles.sh
|
||||||
|
- 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
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
||||||
|
- name: Rename macOS bundle
|
||||||
|
run: |
|
||||||
|
mv ${{ github.event.repository.name }}-macOS.pkg ${{ github.event.repository.name }}-macOS-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.pkg
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.repository.name }}-macOS-universal-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
name: ${{ github.event.repository.name }}-macOS-universal-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
||||||
path: |
|
path: |
|
||||||
*-macOS.pkg
|
*.pkg
|
||||||
- uses: softprops/action-gh-release@v1
|
- uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
|
|
@ -326,7 +369,7 @@ jobs:
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
files: |
|
files: |
|
||||||
*-macOS.pkg
|
*.pkg
|
||||||
|
|
||||||
modduo:
|
modduo:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
@ -475,9 +518,17 @@ jobs:
|
||||||
pushd deps/PawPaw; source local.env win32; popd
|
pushd deps/PawPaw; source local.env win32; popd
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true -j $(nproc)
|
make NOOPT=true WITH_LTO=true -j $(nproc)
|
||||||
|
- 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
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
||||||
- name: Pack binaries
|
- name: Pack binaries
|
||||||
run: |
|
run: |
|
||||||
cd bin; zip -r -9 ../${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.zip $(ls | grep -e lv2 -e vst)
|
cd bin; zip -r -9 ../${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.zip $(ls | grep -e lv2 -e vst)
|
||||||
|
|
@ -525,9 +576,17 @@ jobs:
|
||||||
pushd deps/PawPaw; source local.env win64; popd
|
pushd deps/PawPaw; source local.env win64; popd
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true -j $(nproc)
|
make NOOPT=true WITH_LTO=true -j $(nproc)
|
||||||
|
- 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
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
||||||
- name: Pack binaries
|
- name: Pack binaries
|
||||||
run: |
|
run: |
|
||||||
cd bin; zip -r -9 ../${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.zip $(ls | grep -e lv2 -e vst)
|
cd bin; zip -r -9 ../${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.zip $(ls | grep -e lv2 -e vst)
|
||||||
|
|
@ -560,9 +619,17 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
make HEADLESS=true tarball
|
make HEADLESS=true tarball
|
||||||
make HEADLESS=true tarball+deps
|
make HEADLESS=true tarball+deps
|
||||||
|
- 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
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.repository.name }}-source-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
name: ${{ github.event.repository.name }}-source-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ With the exception of a few bugs, Cardinal can be considered stable.
|
||||||
Though currently the following should be noted:
|
Though currently the following should be noted:
|
||||||
|
|
||||||
- Keyboard input does not always work in some hosts [#24](https://github.com/DISTRHO/Cardinal/issues/24)
|
- Keyboard input does not always work in some hosts [#24](https://github.com/DISTRHO/Cardinal/issues/24)
|
||||||
- VST3 support incomplete/experimental [#41](https://github.com/DISTRHO/Cardinal/issues/41) [#126](https://github.com/DISTRHO/Cardinal/issues/126)
|
- VST3 support incomplete/experimental [#41](https://github.com/DISTRHO/Cardinal/issues/41)
|
||||||
- Windows 32bit builds do not work well [#80](https://github.com/DISTRHO/Cardinal/issues/80)
|
- Windows 32bit builds do not work well [#80](https://github.com/DISTRHO/Cardinal/issues/80)
|
||||||
|
|
||||||
### Current builds
|
### Current builds
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue