Skip to content

Commit

Permalink
ci: test fixes for static build on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
adriweb committed Aug 9, 2024
1 parent 654259d commit 223ac61
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 255 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.linux.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Linux

on:
push:
branches: [ master, feature/github-actions ]
branches: [ master, feature/github-actions, ci_linux_static ]
pull_request:
branches: [ master, feature/github-actions ]
release:
Expand All @@ -18,16 +18,12 @@ jobs:
os: [ubuntu-20.04]
arch: [x64]
config: [Release]
statictype: [ON, OFF]
statictype: [ON]
include:
- statictype: ON
qtver: Qt6
host_triplet: release
release_suffix: static
- statictype: OFF
qtver: Qt6-Dynamic
host_triplet: dynamic
release_suffix: shared

steps:
- name: Checkout Git Repo
Expand Down
127 changes: 0 additions & 127 deletions .github/workflows/build.mac.workflow.yml

This file was deleted.

86 changes: 0 additions & 86 deletions .github/workflows/build.windows.workflow.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/coverity.workflow.yml

This file was deleted.

8 changes: 8 additions & 0 deletions gui/qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,14 @@ target_link_libraries(CEmu PRIVATE
Qt::Widgets
)

if(LINUX AND TRY_STATIC_LIBS)
target_link_libraries(CEmu PRIVATE
/usr/lib/x86_64-linux-gnu/libXau.a
/usr/lib/x86_64-linux-gnu/libXdmcp.a
/usr/lib/x86_64-linux-gnu/libbsd.a
)
endif()

include(CheckIPOSupported)
check_ipo_supported(RESULT lto_supported OUTPUT error)
if(lto_supported)
Expand Down

0 comments on commit 223ac61

Please sign in to comment.