-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
47 additions
and
39 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,27 +54,13 @@ jobs: | |
arch: arm64 | ||
|
||
steps: | ||
- name: Restore windows vcpkg | ||
if: startsWith(matrix.os, 'windows') | ||
uses: actions/cache/restore@v3 | ||
with: | ||
path: C:\vcpkg\installed | ||
key: ${{ runner.os }}-vcpkg-installed-${{ matrix.os }} | ||
- name: Restore macos or ubuntu vcpkg | ||
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu') | ||
uses: actions/cache/restore@v3 | ||
with: | ||
path: /usr/local/share/vcpkg/installed | ||
key: ${{ runner.os }}-vcpkg-installed-${{ matrix.os }} | ||
|
||
- name: Install dependencies on windows | ||
if: startsWith(matrix.os, 'windows') | ||
shell: bash | ||
run: | | ||
choco install ninja | ||
ninja --version | ||
cmake --version | ||
vcpkg install breakpad --triplet x64-windows | ||
- name: Install dependencies on ubuntu | ||
if: startsWith(matrix.os, 'ubuntu') | ||
shell: bash | ||
|
@@ -84,25 +70,14 @@ jobs: | |
ninja --version | ||
cmake --version | ||
gcc --version | ||
vcpkg install breakpad --triplet x64-linux | ||
- name: Install dependencies on macos-x86_64 | ||
if: startsWith(matrix.os, 'macos') && matrix.arch == 'x86_64' | ||
shell: bash | ||
run: | | ||
brew install ninja pkg-config | ||
ninja --version | ||
cmake --version | ||
clang --version | ||
vcpkg install breakpad --triplet x64-osx | ||
- name: Install dependencies on macos-arm64 | ||
if: startsWith(matrix.os, 'macos') && matrix.arch == 'arm64' | ||
if: startsWith(matrix.os, 'macos') | ||
shell: bash | ||
run: | | ||
brew install ninja pkg-config | ||
ninja --version | ||
cmake --version | ||
clang --version | ||
vcpkg install breakpad --triplet arm64-osx | ||
- name: Install Qt | ||
uses: jurplel/install-qt-action@v3 | ||
|
@@ -116,6 +91,22 @@ jobs: | |
with: | ||
fetch-depth: 1 | ||
|
||
- name: Update vcpkg manifest baseline | ||
shell: bash | ||
run: | | ||
vcpkg x-update-baseline | ||
- name: Cache vcpkg | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ github.workspace }}/build/vcpkg_installed | ||
key: ${{ runner.os }}-vcpkg-installed-${{ matrix.os }}-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-vcpkg-installed-${{ matrix.os }}- | ||
${{ runner.os }}-vcpkg-installed- | ||
${{ runner.os }}- | ||
save-always: true | ||
|
||
- name: Enable Developer Command Prompt | ||
if: startsWith(matrix.os, 'windows') | ||
uses: ilammy/[email protected] | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", | ||
"name": "qt-app", | ||
"version": "0.0.1", | ||
"description": "manifest", | ||
"dependencies": [ | ||
"breakpad" | ||
], | ||
"builtin-baseline": "3c76dc55f8bd2b7f4824bcd860055094bfbbb9ea" | ||
} |