Skip to content

Commit

Permalink
Work on CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed Nov 13, 2024
1 parent 03f8bf5 commit 5eb708e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/builds_desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ jobs:
# Deploy application
- name: Deploy application
run: |
sudo rm /home/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/gcc_64/plugins/position/libqtposition_nmea.so
sudo rm /home/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/gcc_64/plugins/sqldrivers/libqsqlmimer.so
sudo rm /home/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/gcc_64/plugins/sqldrivers/libqsqlmysql.so
sudo rm /home/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/gcc_64/plugins/sqldrivers/libqsqlodbc.so
sudo rm /home/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/gcc_64/plugins/sqldrivers/libqsqlpsql.so
./deploy_linux.sh -c -i -p
# Upload application ZIP
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/builds_mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
# uses: android-actions/setup-android@v3
#- name: Install Android SDK / NDK / tools
# run: |
# sdkmanager "platforms;android-34"
# sdkmanager "ndk;26.3.11579264"
# sdkmanager "build-tools;34.0.0"
# sdkmanager "platforms;android-35"
# sdkmanager "ndk;26.1.10909125"
# sdkmanager "build-tools;35.0.0"

# Install Qt (desktop & Android)
- name: Install Qt (desktop & Android)
Expand All @@ -60,6 +60,11 @@ jobs:
modules: qtconnectivity qtcharts qtpositioning
extra: '--autodesktop'

# Install dependencies (from package manager)
- name: Install dependencies (from package manager)
run: |
sudo apt-get install ninja-build -y;
# Setup env
- name: Setup env
run: |
Expand Down Expand Up @@ -108,7 +113,7 @@ jobs:
# Install dependencies (from package manager)
#- name: Install dependencies (from package manager)
# run: |
# brew install cmake
# brew install cmake ninja

# Setup env
- name: Setup env
Expand All @@ -128,5 +133,5 @@ jobs:
-DQT_HOST_PATH:PATH=${{env.QT_HOST_PATH}} \
-DENABLE_ARC=FALSE \
-DPLATFORM=OS64 \
-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED="NO" \
cmake --build build/ --config Release
-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED="NO"
cmake --build build/ --config Release -- CODE_SIGNING_ALLOWED=NO
1 change: 0 additions & 1 deletion assets/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ buildscript {
}

dependencies {
//classpath 'com.android.tools.build:gradle:8.6.1' // works with Qt 6.8+ // Java 17
classpath 'com.android.tools.build:gradle:8.2.2' // works with Qt 6.7+ // Java 17
}
}
Expand Down

0 comments on commit 5eb708e

Please sign in to comment.