Skip to content

Commit

Permalink
macos rpath?
Browse files Browse the repository at this point in the history
  • Loading branch information
Neverous committed May 16, 2023
1 parent 0fdda8b commit d10aaf0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 85 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
matrix:
qt-version:
- 5.15.2 # OS LTS
- 6.2.4 # LTS
- 6.5.0 # latest

steps:
- name: Checkout source code
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/codacy.yml

This file was deleted.

46 changes: 1 addition & 45 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,56 +13,12 @@ concurrency:
cancel-in-progress: true

jobs:
build-linux:
name: ${{ matrix.os }} with ${{ matrix.compiler }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
compiler:
- Clang
- GCC

permissions:
actions: read
contents: read
security-events: write

uses: ./.github/workflows/build.yml
with:
os: ${{ matrix.os }}
compiler: ${{ matrix.compiler }}
build-config: Debug
version: ${{ github.sha }}

build-windows:
name: ${{ matrix.os }} with ${{ matrix.compiler }}
strategy:
fail-fast: false
matrix:
os: [windows-2019, windows-2022]
compiler:
- Clang
- MSVC

permissions:
actions: read
contents: read
security-events: write

uses: ./.github/workflows/build.yml
with:
os: ${{ matrix.os }}
compiler: ${{ matrix.compiler }}
build-config: Debug
version: ${{ github.sha }}

build-macos:
name: ${{ matrix.os }} with ${{ matrix.compiler }}
strategy:
fail-fast: false
matrix:
os: [macos-11, macos-12, macos-13]
os: [macos-13]
compiler:
- Clang

Expand Down
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,10 @@ elseif(APPLE)
find_program(MACDEPLOYQT_EXECUTABLE NAMES macdeployqt HINTS ${QT${QT_VERSION_MAJOR}_INSTALL_PREFIX}/bin REQUIRED)
endif()

add_custom_command(TARGET ${PROJECT_NAME}
POST_BUILD
COMMAND ${MACDEPLOYQT_EXECUTABLE} "$<TARGET_BUNDLE_DIR:${PROJECT_NAME}>" -always-overwrite
)
#add_custom_command(TARGET ${PROJECT_NAME}
# POST_BUILD
# COMMAND ${MACDEPLOYQT_EXECUTABLE} "$<TARGET_BUNDLE_DIR:${PROJECT_NAME}>" -always-overwrite -dmg
#)
else()
if(NOT LINUXDEPLOY_EXECUTABLE)
find_program(LINUXDEPLOY_EXECUTABLE NAMES linuxdeploy linuxdeploy-x86_64.AppImage)
Expand Down

0 comments on commit d10aaf0

Please sign in to comment.