Skip to content

Commit

Permalink
add ubuntu workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CrSjimo committed Oct 1, 2024
1 parent a618423 commit 4024b4c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/actions/init-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ runs:
--x-manifest-root=${{ github.workspace }}/scripts/vcpkg-manifest `
--x-install-root=./installed `
--triplet=${{ env.VCPKG_TRIPLET }}
if ($LASTEXITCODE -ne 0) {
exit 1
}
./vcpkg install `
--x-manifest-root=${{ github.workspace }}/scripts/setup/diffscope-bridge `
--x-install-root=./bridge_installed `
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/generate-bundles-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-13]
os:
- windows-latest
- ubuntu-latest
- macos-13

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -146,6 +149,18 @@ jobs:
node create-dmg.js $env:DIFFSCOPE_INSTALLED_DIR/DiffScope.app 'DiffScope Bridge.pkg' "$env:BINARY_NAME.dmg"
Write-Output PACKAGE_PATH=$(Resolve-Path -Path "$env:BINARY_NAME.dmg") >> $env:GITHUB_ENV
- name: Create Binary Archive (Ubuntu)
if: matrix.os == 'ubuntu-latest'
shell: pwsh
run: |
mv $env:DIFFSCOPE_INSTALLED_DIR DiffScope
mkdir "DiffScope Bridge"
Invoke-WebRequest -Uri "https://www.gnu.org/licenses/gpl-3.0.rtf" -OutFile "DiffScope Bridge/gpl-3.0.rtf"
mv $env:DIFFSCOPE_BRIDGE_ARTEFACTS_DIR/VST3/*.vst3 "DiffScope Bridge"
mv $env:DIFFSCOPE_BRIDGE_ARTEFACTS_DIR/LV2/*.lv2 "DiffScope Bridge"
tar --bzip2 -cf "$env:BINARY_NAME.tar.bz2" DiffScope "DiffScope Bridge"
Write-Output PACKAGE_PATH=$(Resolve-Path -Path "$env:BINARY_NAME.tar.bz2") >> $env:GITHUB_ENV
- name: Upload release file
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion libs/qtmediate

0 comments on commit 4024b4c

Please sign in to comment.