Skip to content

Commit

Permalink
Cleanup build process
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrePTJ committed May 30, 2024
1 parent 045fa2d commit 9f2b82f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,12 @@ jobs:
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.qt_version }}
# tools: 'tools_opensslv3_src'
cache: true
aqtversion: '==3.1.*'

- name: Install dev dependencies
run: sudo apt install libxss-dev libxkbcommon-x11-dev libxcb-cursor0

# - name: Build OpenSSLv3
# run: |
# cd $IQTA_TOOLS/OpenSSLv3/src
# ./Configure && make -j3

- name: Configure
run: |
cmake --preset release
Expand All @@ -42,25 +36,9 @@ jobs:
run: |
cmake --build --preset release
- name: Create Linux package
run: |
cmake --build --preset release --target package
# - name: Create Linux package
# run: |
# sudo add-apt-repository universe
# sudo apt install libfuse2
# chmod +x bundle/linux/create_appimage.sh
# ./bundle/linux/create_appimage.sh -q $Qt6_DIR -b cmake-build-release -o $IQTA_TOOLS/OpenSSLv3/src
#
# # Create release if on built on a tag
# - if: startsWith(github.ref, 'refs/tags/')
# name: Create/Update release
# uses: ncipollo/release-action@v1
# with:
# allowUpdates: true
# draft: true
# artifacts: 'Kemai-*.AppImage'
# cmake --build --preset release --target package

WindowsJob:
name: Windows
Expand Down
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,12 @@ if (KEMAI_BUILD_LOCAL_DEPENDENCIES)
GIT_REPOSITORY https://github.com/gabime/spdlog.git
GIT_TAG v1.14.0
OVERRIDE_FIND_PACKAGE)
# FetchContent_Declare(range-v3
# GIT_REPOSITORY https://github.com/ericniebler/range-v3.git
# GIT_TAG 0.12.0
# OVERRIDE_FIND_PACKAGE)
endif (KEMAI_BUILD_LOCAL_DEPENDENCIES)

# Find external dependencies
find_package(fmt REQUIRED)
find_package(magic_enum REQUIRED)
find_package(spdlog REQUIRED)
#find_package(range-v3 REQUIRED)
find_package(Qt6 QUIET COMPONENTS Widgets Network LinguistTools)

# Write version to file to ease packaging
Expand Down

0 comments on commit 9f2b82f

Please sign in to comment.