keep going

This commit is contained in:
Bruno Alexandre Rosa 2026-03-02 21:45:05 -03:00
parent 4c162e2ab9
commit aacd4ae548
4 changed files with 11 additions and 10 deletions

View file

@ -335,12 +335,12 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Add msbuild to PATH # Ninja+MSVC requires developer environment; setup-msbuild does not add cl.exe
- name: Setup MSVC developer environment
if: matrix.os == 'Windows' if: matrix.os == 'Windows'
id: add-msbuild uses: ilammy/msvc-dev-cmd@v1
uses: microsoft/setup-msbuild@v2
with: with:
msbuild-architecture: x64 arch: x64
- name: Setup ccache - name: Setup ccache
if: matrix.use_ccache == 1 && matrix.os == 'macOS' if: matrix.use_ccache == 1 && matrix.os == 'macOS'
@ -423,7 +423,6 @@ jobs:
# uses environment variables, see compile.sh for more details # uses environment variables, see compile.sh for more details
- name: Build Cockatrice - name: Build Cockatrice
id: build id: build
shell: bash
env: env:
BUILDTYPE: '${{matrix.type}}' BUILDTYPE: '${{matrix.type}}'
MAKE_PACKAGE: '${{matrix.make_package}}' MAKE_PACKAGE: '${{matrix.make_package}}'
@ -433,14 +432,13 @@ jobs:
USE_CCACHE: ${{matrix.use_ccache}} USE_CCACHE: ${{matrix.use_ccache}}
VCPKG_DISABLE_METRICS: 1 VCPKG_DISABLE_METRICS: 1
VCPKG_BINARY_SOURCES: 'clear;files,${{ steps.vcpkg-cache.outputs.path }},readwrite' VCPKG_BINARY_SOURCES: 'clear;files,${{ steps.vcpkg-cache.outputs.path }},readwrite'
# macOS-specific environment variables, will be ignored on Windows
MACOS_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE }} MACOS_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE }}
MACOS_CERTIFICATE_PWD: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }} MACOS_CERTIFICATE_PWD: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }}
MACOS_CERTIFICATE_NAME: ${{ secrets.PROD_MACOS_CERTIFICATE_NAME }} MACOS_CERTIFICATE_NAME: ${{ secrets.PROD_MACOS_CERTIFICATE_NAME }}
MACOS_CI_KEYCHAIN_PWD: ${{ secrets.PROD_MACOS_CI_KEYCHAIN_PWD }} MACOS_CI_KEYCHAIN_PWD: ${{ secrets.PROD_MACOS_CI_KEYCHAIN_PWD }}
DEVELOPER_DIR: '/Applications/Xcode_${{matrix.xcode}}.app/Contents/Developer' DEVELOPER_DIR: '/Applications/Xcode_${{matrix.xcode}}.app/Contents/Developer'
TARGET_MACOS_VERSION: ${{ matrix.override_target }} TARGET_MACOS_VERSION: ${{ matrix.override_target }}
run: .ci/compile.sh --server --test --vcpkg run: bash .ci/compile.sh --server --test --vcpkg
- name: Save compiler cache (ccache) - name: Save compiler cache (ccache)
if: github.ref == 'refs/heads/master' && matrix.use_ccache == 1 if: github.ref == 'refs/heads/master' && matrix.use_ccache == 1

View file

@ -527,8 +527,9 @@ if(WIN32)
set(plugin_dest_dir Plugins) set(plugin_dest_dir Plugins)
set(qtconf_dest_dir .) set(qtconf_dest_dir .)
# Use target runtime dir for both multi-config (VS) and single-config (Ninja)
install( install(
DIRECTORY "${CMAKE_BINARY_DIR}/${PROJECT_NAME}/${CMAKE_BUILD_TYPE}/" DIRECTORY "$<TARGET_FILE_DIR:cockatrice>/"
DESTINATION ./ DESTINATION ./
FILES_MATCHING FILES_MATCHING
PATTERN "*.dll" PATTERN "*.dll"

View file

@ -233,8 +233,9 @@ if(WIN32)
set(qtconf_dest_dir .) set(qtconf_dest_dir .)
list(APPEND libSearchDirs ${QT_LIBRARY_DIR}) list(APPEND libSearchDirs ${QT_LIBRARY_DIR})
# Use target runtime dir for both multi-config (VS) and single-config (Ninja)
install( install(
DIRECTORY "${CMAKE_BINARY_DIR}/${PROJECT_NAME}/${CMAKE_BUILD_TYPE}/" DIRECTORY "$<TARGET_FILE_DIR:oracle>/"
DESTINATION ./ DESTINATION ./
FILES_MATCHING FILES_MATCHING
PATTERN "*.dll" PATTERN "*.dll"

View file

@ -183,8 +183,9 @@ if(WIN32)
set(plugin_dest_dir Plugins) set(plugin_dest_dir Plugins)
set(qtconf_dest_dir .) set(qtconf_dest_dir .)
# Use target runtime dir for both multi-config (VS) and single-config (Ninja)
install( install(
DIRECTORY "${CMAKE_BINARY_DIR}/${PROJECT_NAME}/${CMAKE_BUILD_TYPE}/" DIRECTORY "$<TARGET_FILE_DIR:servatrice>/"
DESTINATION ./ DESTINATION ./
FILES_MATCHING FILES_MATCHING
PATTERN "*.dll" PATTERN "*.dll"