Compare commits

...

24 Commits

Author SHA1 Message Date
tooomm
8f63739427 pdbs 2025-06-15 18:45:25 +02:00
tooomm
99916272d0 cleanup 2025-05-10 20:02:45 +02:00
tooomm
b8354e3bfc Merge branch 'master' into tooomm-ci_updates 2025-05-10 19:33:49 +02:00
tooomm
3243e2b8b6 vcpkg-cache /2 2025-05-10 19:31:16 +02:00
tooomm
b1ed152207 vcpkg -cache action 2025-05-10 18:09:00 +02:00
tooomm
9353782ee4 Update release_template.md 2025-04-30 04:18:08 +02:00
tooomm
03a44a4c06 Update desktop-build.yml 2025-04-27 11:50:20 +02:00
tooomm
c8823838b3 Update desktop-build.yml 2025-04-27 10:38:15 +02:00
tooomm
5d7f8ae49d Update desktop-build.yml 2025-04-27 07:30:03 +02:00
tooomm
e6603d3b4a Update desktop-build.yml 2025-04-26 23:57:39 +02:00
tooomm
54afb34398 Update desktop-build.yml 2025-04-26 23:56:27 +02:00
tooomm
693fcc07e6 Update desktop-build.yml 2025-04-22 23:53:32 +02:00
tooomm
382f37f2a7 Update desktop-build.yml 2025-04-22 23:43:12 +02:00
tooomm
0cb06ff0dd confirm cache issue fixed? 2025-04-20 15:16:57 +02:00
tooomm
b9b0311cc4 Update desktop-build.yml 2025-04-19 10:09:38 +02:00
tooomm
3b819e3c5e Update desktop-build.yml 2025-04-19 10:03:46 +02:00
tooomm
42ddb70bc3 Update desktop-build.yml 2025-04-19 07:32:55 +02:00
tooomm
99b46336d4 revert ninja 2025-04-19 07:26:28 +02:00
tooomm
e5a6bb0bcb Update desktop-build.yml 2025-04-19 07:15:57 +02:00
tooomm
e8651a0230 Update desktop-build.yml 2025-04-18 23:35:47 +02:00
tooomm
0c59e49a57 Update compile.sh 2025-04-18 22:39:53 +02:00
tooomm
2786226e99 ninja 2025-04-18 20:16:53 +02:00
tooomm
29c3f1fa7a versions 2025-04-18 18:04:17 +02:00
tooomm
4afd0eae30 Update desktop-build.yml 2025-04-18 17:58:02 +02:00
2 changed files with 16 additions and 28 deletions

View File

@@ -10,7 +10,6 @@ Available pre-compiled binaries for installation:
<b>Windows</b>
• <kbd>Windows 10+</kbd>
• <kbd>Windows 7+</kbd>
<b>macOS</b>
• <kbd>macOS 15+</kbd> <sub><i>Sequoia</i></sub> <sub>Apple M</sub>

View File

@@ -211,7 +211,6 @@ jobs:
make_package: 1
- target: 14
soc: Apple
os: macos-14
xcode: "15.4"
type: Release
@@ -219,17 +218,15 @@ jobs:
make_package: 1
- target: 15
soc: Apple
os: macos-15
xcode: "16.2"
xcode: "16.3"
type: Release
core_count: 3
make_package: 1
- target: 15
soc: Apple
os: macos-15
xcode: "16.2"
xcode: "16.3"
type: Debug
core_count: 3
@@ -259,10 +256,10 @@ jobs:
shell: bash
id: build
env:
BUILDTYPE: '${{matrix.type}}'
BUILDTYPE: ${{ matrix.type }}
MAKE_TEST: 1
MAKE_PACKAGE: '${{matrix.make_package}}'
PACKAGE_SUFFIX: '-macOS${{matrix.target}}_${{matrix.soc}}'
MAKE_PACKAGE: ${{ matrix.make_package }}
PACKAGE_SUFFIX: -macOS${{ matrix.target }}${{ matrix.soc == 'Intel' && '_Intel' || '' }}
MACOS_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE }}
MACOS_CERTIFICATE_PWD: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }}
MACOS_CERTIFICATE_NAME: ${{ secrets.PROD_MACOS_CERTIFICATE_NAME }}
@@ -350,13 +347,9 @@ jobs:
fail-fast: false
matrix:
include:
- target: 7
qt_version: 5.15.*
qt_arch: msvc2019_64
- target: 10
qt_version: 6.6.*
qt_arch: msvc2019_64
qt_arch: win64_msvc2019_64 # win64_msvc2022_64 is only available with Qt 6.8, which introduces a bug in game window
qt_modules: "qtimageformats qtmultimedia qtwebsockets"
name: Windows ${{matrix.target}}
@@ -383,20 +376,14 @@ jobs:
cache: true
setup-python: true
version: ${{matrix.qt_version}}
arch: win64_${{matrix.qt_arch}}
tools: ${{matrix.qt_tools}}
arch: ${{matrix.qt_arch}}
modules: ${{matrix.qt_modules}}
# TODO: re-enable when https://github.com/lukka/run-vcpkg/issues/243 is fixed
- if: false
name: Run vcpkg (disabled)
uses: lukka/run-vcpkg@v11
- name: Setup vcpkg cache
id: vcpkg-cache
uses: TAServers/vcpkg-cache@v3
with:
runVcpkgInstall: true
doNotCache: false
env:
VCPKG_DEFAULT_TRIPLET: 'x64-windows'
VCPKG_DISABLE_METRICS: 1
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Cockatrice
id: build
@@ -405,7 +392,8 @@ jobs:
PACKAGE_SUFFIX: '-Win${{matrix.target}}'
CMAKE_GENERATOR: '${{env.CMAKE_GENERATOR}}'
CMAKE_GENERATOR_PLATFORM: 'x64'
QTDIR: '${{github.workspace}}\Qt\${{matrix.qt_version}}\win64_${{matrix.qt_arch}}'
QTDIR: '${{github.workspace}}\Qt\${{matrix.qt_version}}\${{matrix.qt_arch}}'
VCPKG_BINARY_SOURCES: 'clear;files,${{ steps.vcpkg-cache.outputs.path }},readwrite'
# No need for --parallel flag, MTT is added in the compile script to let cmake/msbuild manage core count,
# project and process parallelism: https://devblogs.microsoft.com/cppblog/improved-parallelism-in-msbuild/
run: .ci/compile.sh --server --release --test --package
@@ -417,13 +405,14 @@ jobs:
path: ${{steps.build.outputs.path}}
if-no-files-found: error
- name: Upload pdb database
- name: Upload PDBs (Program Databases)
uses: actions/upload-artifact@v4
with:
name: Windows${{matrix.target}}-debug-pdbs
name: Windows${{matrix.target}}-Release-PDBs
path: |
build/cockatrice/Release/*.pdb
build/servatrice/Release/*.pdb
build/oracle/Release/*.pdb
if-no-files-found: error
- name: Upload to release