Skip to content

Commit

Permalink
Add some more CI variants
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Dec 10, 2023
1 parent 8261e80 commit 0ced01e
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,36 @@ jobs:
- target: linux-aarch64
pkgprefix: aarch64-linux-gnu
container: ubuntu:18.04
- target: linux-aarch64
pkgprefix: aarch64-linux-gnu
container: ubuntu:20.04
- target: linux-aarch64
pkgprefix: aarch64-linux-gnu
container: ubuntu:22.04
- target: linux-armhf
pkgprefix: arm-linux-gnueabihf
container: ubuntu:18.04
- target: linux-armhf
pkgprefix: arm-linux-gnueabihf
container: ubuntu:20.04
- target: linux-armhf
pkgprefix: arm-linux-gnueabihf
container: ubuntu:22.04
- target: linux-i686
pkgprefix: i386-linux-gnu
container: ubuntu:18.04
- target: linux-i686
pkgprefix: i386-linux-gnu
container: ubuntu:20.04
- target: linux-x86_64
pkgprefix: x86_64-linux-gnu
container: ubuntu:18.04
- target: linux-x86_64
pkgprefix: x86_64-linux-gnu
container: ubuntu:20.04
- target: linux-x86_64
pkgprefix: x86_64-linux-gnu
container: ubuntu:22.04
runs-on: ubuntu-latest
container:
image: ${{ matrix.container }}
Expand Down Expand Up @@ -75,14 +96,14 @@ jobs:
echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV
- name: Pack binaries
run: |
tar czf ${{ github.event.repository.name }}-${{ matrix.target }}-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C ${{ env.DESTDIR }}/usr/lib lv2 vst vst3
tar czf ${{ github.event.repository.name }}-${{ env.PAWPAW_PACK_NAME }}-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C ${{ env.DESTDIR }}/usr/lib lv2 vst vst3
- uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ matrix.target }}-${{ github.event.pull_request.number || env.SHA8 }}
name: ${{ github.event.repository.name }}-${{ env.PAWPAW_PACK_NAME }}-${{ github.event.pull_request.number || env.SHA8 }}
path: |
*.tar.gz
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: ${{ matrix.container == 'ubuntu:18.04' && startsWith(github.ref, 'refs/tags/') }}
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
Expand Down Expand Up @@ -128,7 +149,7 @@ jobs:
submodules: recursive
- name: Set up dependencies
run: |
brew install meson
./.github/workflows/bootstrap-deps.sh macos
- name: Build
run: |
meson build --buildtype=release --prefix=/usr -Dbuild-universal=true
Expand All @@ -146,10 +167,10 @@ jobs:
echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV
- name: Pack binaries
run: |
tar czf ${{ github.event.repository.name }}-macos-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C ${{ env.DESTDIR }}/usr/lib lv2 vst vst3
tar czf ${{ github.event.repository.name }}-${{ env.PAWPAW_PACK_NAME }}-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C ${{ env.DESTDIR }}/usr/lib lv2 vst vst3
- uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ matrix.os }}-${{ github.event.pull_request.number || env.SHA8 }}
name: ${{ github.event.repository.name }}-${{ env.PAWPAW_PACK_NAME }}-${{ github.event.pull_request.number || env.SHA8 }}
path: |
*.tar.gz
- uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 0ced01e

Please sign in to comment.