Skip to content

Commit

Permalink
update linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CrSjimo committed Oct 4, 2024
1 parent 5e1077f commit cd60ce4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/actions/init-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ runs:
shell: pwsh
run: |
sudo apt update
sudo apt-get -y install ninja-build libasound2-dev libxrandr-dev libxinerama-dev libxrender-dev libxcomposite-dev libxcursor-dev
sudo apt-get -y install `
ninja-build `
libasound2-dev libatopology-dev `
libxrandr-dev libxinerama-dev libxrender-dev libxcomposite-dev libxcursor-dev `
libgl1-mesa-dev libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libzstd-dev
Write-Output VCPKG_TRIPLET=x64-linux >> $env:GITHUB_ENV
Write-Output VCPKG_TRIPLET_STATIC=x64-linux >> $env:GITHUB_ENV
Write-Output QT_ARCH=gcc_64 >> $env:GITHUB_ENV
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/generate-bundles-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,21 @@ jobs:
run: |
cd scripts/setup/linux
mv $env:DIFFSCOPE_INSTALLED_DIR DiffScope
Push-Location DiffScope/lib
# Just steal the exclude list of dynamic libraries from AppImage
$excludeListUrl = "https://raw.githubusercontent.com/AppImageCommunity/pkg2appimage/04af461f471a2bf49671057408e0313f1f731d4b/excludelist"
$excludeList = (Invoke-WebRequest $excludeListUrl).Content.split("`n")
if ($excludeList.Count -eq 0) {
exit 1
}
foreach ($file in ($excludeList | ForEach-Object { ($_ -replace '\s*#.*$', '').Trim() } | Where-Object { $_ -ne "" })) {
if (Test-Path $file) {
Remove-Item $file
}
}
Pop-Location
mkdir "DiffScope Bridge"
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/CrSjimo/diffscope-ci-tools-mirror/refs/heads/main/gpl-3.0.rtf" -OutFile "DiffScope Bridge/gpl-3.0.rtf"
mv $env:DIFFSCOPE_BRIDGE_ARTEFACTS_DIR/VST3/*.vst3 "DiffScope Bridge"
Expand Down
6 changes: 5 additions & 1 deletion src/share/install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ elseif(APPLE)
)
else()
# Linux
set(_)
list(APPEND _plugins
platforms/qxcb
platforminputcontexts/*
xcbglintegrations/*
)
endif()

if(WIN32)
Expand Down

0 comments on commit cd60ce4

Please sign in to comment.