build: add status icon permission to flatpak #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows Build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { icon: 'π¨', sys: ucrt64 } | |
- { icon: 'π§', sys: clang64 } | |
name: π§${{ matrix.icon }} ${{ matrix.sys }} | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- name: 'π§° Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: '${{ matrix.icon }} Setup MSYS2' | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ${{matrix.sys}} | |
update: true | |
install: >- | |
git | |
make | |
pacboy: >- | |
toolchain:p | |
cmake:p | |
ninja:p | |
taglib:p | |
qt6-tools:p | |
qt6-base:p | |
qt6-svg:p | |
qt6-multimedia:p | |
qt6-httpserver:p | |
ffmpeg:p | |
libebur128:p | |
mpg123:p | |
qt6-imageformats:p | |
- name: 'π§ Build Cantata' | |
run: | | |
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release | |
cmake --build build | |
- name: 'π¦ Package Cantata' | |
run: cmake --install build --prefix $PWD/package | |
- name: 'β« Upload Artifact' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-standalone-${{ matrix.sys }} | |
path: package/ | |
if-no-files-found: error |