Skip to content

Commit

Permalink
Work on CI Builds - windows and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
oxy86 committed Nov 24, 2024
1 parent e592c1d commit c3e4487
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ jobs:
run: |
pip install aqtinstall
aqt list-qt linux desktop
aqt list-qt windows desktop --long-modules ${{ matrix.qt-version }} win64_mingw8
aqt list-qt windows desktop
aqt list-qt macos desktop
aqt list-qt windows desktop --modules ${{ matrix.qt-version }} win64_mingw
- if: contains( matrix.os, 'ubuntu')
name: Install dependencies
run: |
ls
# pip install aqtinstall
# aqt list-qt linux desktop
# aqt list-qt linux desktop --long-modules ${{ matrix.qt-version }} win64_mingw8
# aqt list-qt linux desktop --long-modules ${{ matrix.qt-version }} win64_mingw
sudo apt install build-essential libssl-dev \
cmake ninja-build \
libssl-dev libxkbcommon-x11-dev libxcb-cursor-dev zlib1g-dev
Expand Down Expand Up @@ -110,7 +112,7 @@ jobs:
# Build SocNetV
#
- if: contains( matrix.os, 'ubuntu-latest')
name: Do Linux tests
name: Build for Linux
run: |
echo "openssl version:"
echo `openssl version`
Expand All @@ -122,16 +124,16 @@ jobs:
echo "Building finished! "
echo "Files in current directory: "
find .
# qmake workaround: https://bugreports.qt.io/browse/QTBUG-117225?focusedId=754625&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-754625
# See https://github.com/pbek/QOwnNotes/issues/3018
# BUILD FOR MACOS
- if: contains( matrix.os, 'macos')
name: Do macOS tests
name: Build for macOS
run: |
qmake CONFIG+=debug socnetv.pro
mingw32-make
- if: contains( matrix.os, 'windows') && startsWith( matrix.qt-version, '6.' ) && matrix.qt-version != '6.2.4'
name: Do Qt 6.3+ Windows tests
make -s -j 8
find .
# BUILD FOR WINDOWS
- if: contains( matrix.os, 'windows') && startsWith( matrix.qt-version, '6.' ) && matrix.qt-version != '6.2.5'
name: Build for Windows
run: |
qmake CONFIG+=debug socnetv.pro
mingw32-make
Expand Down

0 comments on commit c3e4487

Please sign in to comment.