Revert "Use older taglib" #180
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 CI" | |
on: | |
push: | |
branches: | |
- '**' | |
release: | |
types: [published] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Install Ninja | |
uses: seanmiddleditch/gha-setup-ninja@master | |
- uses: TheMrMilchmann/setup-msvc-dev@v3 | |
with: | |
arch: x64 | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
aqtversion: '==3.1.*' | |
version: '6.7.0' | |
target: 'desktop' | |
cache: true | |
modules: 'qt3d qtcharts qtconnectivity qtdatavis3d qtgraphs qtgrpc qthttpserver qtimageformats qtlanguageserver qtlocation qtlottie qtmultimedia qtnetworkauth qtpdf qtpositioning qtquick3dphysics qtquickeffectmaker qtremoteobjects qtscxml qtsensors qtserialbus qtserialport qtspeech qtvirtualkeyboard qtwebchannel qtwebengine qtwebsockets qtwebview qt5compat qtquick3d qtquicktimeline qtshadertools' | |
- name: Install QCoro | |
uses: theCheeseboard/actions/build-cmake-project@actions | |
with: | |
project: danvratil/qcoro | |
commitish: v0.10.0 | |
- name: Install utfcpp | |
uses: theCheeseboard/actions/build-cmake-project@actions | |
with: | |
project: nemtrif/utfcpp | |
commitish: v4.0.5 | |
- name: Install taglib | |
uses: theCheeseboard/actions/build-cmake-project@actions | |
with: | |
project: taglib/taglib | |
commitish: v2.0.1 | |
- name: Install libcontemporary | |
uses: theCheeseboard/actions/build-cmake-project@actions | |
with: | |
project: theCheeseboard/libcontemporary | |
commitish: features/qml | |
- name: Install contemporary-qml | |
uses: theCheeseboard/actions/build-cmake-project@actions | |
with: | |
project: theCheeseboard/contemporary-qml | |
commitish: main | |
- name: Install thebeat | |
id: thebeat | |
uses: theCheeseboard/actions/build-cmake-project@actions | |
with: | |
project: . | |
commitish: . | |
- name: Deploy thebeat | |
env: | |
SOURCE_DIRECTORY: ${{ steps.thebeat.outputs.source-directory }} | |
BUILD_DIRECTORY: ${{ steps.thebeat.outputs.build-directory }} | |
INSTALL_DIRECTORY: ${{ steps.thebeat.outputs.install-directory }} | |
VCPKG_DIRECTORY: ${{ github.workspace }}/vcpkg | |
run: | | |
New-Item -ItemType Directory -Force -Path output | |
$executable = Move-Item -Path "$env:BUILD_DIRECTORY/thebeat*.exe" -Destination output -Force -PassThru | |
windeployqt output --qmldir="$env:SOURCE_DIRECTORY" -printsupport | |
copy $env:INSTALL_DIRECTORY/bin/*.dll output | |
copy $env:VCPKG_DIRECTORY/installed/*/bin/*.dll output | |
- name: Upload thebeat artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: thebeat-win | |
path: output |