Merge pull request #1126 from xiaoyifang/action/vcpkg

action: vcpkg
This commit is contained in:
xiaoyifang 2023-09-08 07:42:02 +08:00 committed by GitHub
commit 26f9a64e67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 18 deletions

View file

@ -94,17 +94,7 @@ jobs:
echo "$VAR_VERSION-$VAR_SUFFIX.$release_date.$current_tag">version.txt
cat version.txt
echo "$version"
- name: vcpkg install
shell: bash
run: |
vcpkg install breakpad
- name: copy vcpkg packages into winlibs
shell: bash
run: |
ls -al /usr/local/share/vcpkg/packages/breakpad*
cp -R /usr/local/share/vcpkg/packages/breakpad*/* thirdparty/breakpad
ls -al thirdparty/breakpad/lib
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:

View file

@ -129,13 +129,13 @@ jobs:
cat version.txt
echo "$version"
- name: vcpkg install
shell: powershell
run: |
git clone --depth 1 https://github.com/microsoft/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat
# .\vcpkg\vcpkg.exe install ffmpeg[core,avcodec,avformat,mp3lame,opus,speex,swresample,vorbis,fdk-aac,gpl] --triplet=x64-windows-release
.\vcpkg\vcpkg.exe install breakpad --triplet=x64-windows-release
- name: vcpkg build
uses: johnwason/vcpkg-action@v5
id: vcpkg
with:
pkgs: ffmpeg[core,avcodec,avformat,mp3lame,opus,speex,swresample,vorbis,fdk-aac,gpl] breakpad
triplet: x64-windows-release
token: ${{ github.token }}
- name: copy vcpkg packages into winlibs
shell: bash
run: |