-
Notifications
You must be signed in to change notification settings - Fork 40
Fix CI after release 0.9.18 #1673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: stable
Are you sure you want to change the base?
Changes from all commits
adae2cf
e032eee
26541e4
f132c8c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -133,18 +133,18 @@ jobs: | |||||
| mingw-w64-x86_64-make | ||||||
| mingw-w64-x86_64-freetype | ||||||
| mingw-w64-x86_64-pkg-config | ||||||
| mingw-w64-x86_64-libgnurx | ||||||
| mingw-w64-x86_64-libsystre | ||||||
| mingw-w64-x86_64-qt6-base | ||||||
| mingw-w64-x86_64-qt6-declarative | ||||||
| mingw-w64-x86_64-qt6-multimedia | ||||||
| mingw-w64-x86_64-qt6-translations | ||||||
| mingw-w64-x86_64-qt6-tools | ||||||
|
|
||||||
| - name: Build simulator | ||||||
| - name: Build debug simulator | ||||||
| shell: msys2 {0} | ||||||
| run: | | ||||||
| echo "${{ github.run_number }}" > .build_id | ||||||
| mingw32-make sim | ||||||
| mingw32-make debug-sim | ||||||
|
||||||
| mingw32-make debug-sim | |
| mingw32-make sim-debug |
Copilot
AI
Apr 16, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mingw32-make debug-color-dm32-sim does not match the Makefile’s target composition rules (which build variants via prefixes like color-/dm32- and suffixes like -debug, e.g. color-dm32-sim-debug). As written, this is likely an invalid target and will fail the Windows color simulator job.
| mingw32-make debug-color-dm32-sim | |
| mingw32-make color-dm32-sim-debug |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -379,7 +379,7 @@ TOOLS_BUILDS=$(dir $(wildcard tools/*/Makefile)) | |||||||||||||||||||||||||||
| TOOLS=$(foreach t,$(TOOLS_BUILDS),$t$(notdir $(t:%/=%))) | ||||||||||||||||||||||||||||
| tools: $(TOOLS) | ||||||||||||||||||||||||||||
| tools/%: | ||||||||||||||||||||||||||||
| $(PRINT_COMMAND) cd tools/$(*D) && $(MAKE) BUILDENV=auto TIME= DO_INSTALL= VARIANT=$(*D) | ||||||||||||||||||||||||||||
| $(PRINT_COMMAND) cd tools/$(*D) && $(MAKE) BUILDENV=auto TIME= DO_INSTALL= VARIANT=$(*D) OUTPUT=./ | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| clangdb: clangdb-color-dm32-sim | ||||||||||||||||||||||||||||
| clangdb-%: .ALWAYS | ||||||||||||||||||||||||||||
|
|
@@ -576,7 +576,10 @@ QMAKE_ENV = export ANDROID_SDK_ROOT=$(ANDROID_SDK_ROOT) ; \ | |||||||||||||||||||||||||||
| export ANDROID_NDK_ROOT=$(ANDROID_NDK_ROOT) ; \ | ||||||||||||||||||||||||||||
| export KEYSTORE_PATH=$(ANDROID_KEYSTORE) ; \ | ||||||||||||||||||||||||||||
| export JAVA_HOME=$(ANDROID_JAVA_HOME); | ||||||||||||||||||||||||||||
| AAB_FILE=$(OUTPUT:%=%/)$(NAME).aab | ||||||||||||||||||||||||||||
| # make-it-quick defaults OUTPUT to the workspace root; keep Android bundles | ||||||||||||||||||||||||||||
| # under android/ unless the caller overrides ANDROID_OUTPUT_DIR explicitly. | ||||||||||||||||||||||||||||
| ANDROID_OUTPUT_DIR ?= android | ||||||||||||||||||||||||||||
| AAB_FILE=$(ANDROID_OUTPUT_DIR:%=%/)$(NAME).aab | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| android-$(TARGET): $(AAB_FILE) | ||||||||||||||||||||||||||||
| android-%: qt-% | ||||||||||||||||||||||||||||
|
|
@@ -585,18 +588,27 @@ android-%: qt-% | |||||||||||||||||||||||||||
| $(QMAKEFILE): sim/android/AndroidManifest.xml sim/android/build.gradle | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| # Deploy (and optionally sign) the AAB via androiddeployqt. androiddeployqt | ||||||||||||||||||||||||||||
| # expects the .so at <output>/libs/arm64-v8a/; the qmake build puts it in | ||||||||||||||||||||||||||||
| # DESTDIR, so we must run make install INSTALL_ROOT=<output> first. | ||||||||||||||||||||||||||||
| # expects a build directory as --output and the .so staged under | ||||||||||||||||||||||||||||
| # <output>/libs/arm64-v8a/, so we must run make install INSTALL_ROOT=<output> | ||||||||||||||||||||||||||||
| # first. Normalize the final bundle to $(AAB_FILE) so workflows and helper | ||||||||||||||||||||||||||||
| # scripts can upload a stable path. | ||||||||||||||||||||||||||||
| $(AAB_FILE): $(QMAKEFILE) qt-$(TARGET) | ||||||||||||||||||||||||||||
| $(PRINT_COMMAND) \ | ||||||||||||||||||||||||||||
| AAB="$(abspath $@)"; \ | ||||||||||||||||||||||||||||
| OUTDIR="$(abspath $(dir $@))"; \ | ||||||||||||||||||||||||||||
| mkdir -p "$$OUTDIR" && \ | ||||||||||||||||||||||||||||
| cd sim && \ | ||||||||||||||||||||||||||||
| $(MAKE) -f $(<F) install INSTALL_ROOT="$$AAB" && \ | ||||||||||||||||||||||||||||
| $(MAKE) -f $(<F) install INSTALL_ROOT="$$OUTDIR" && \ | ||||||||||||||||||||||||||||
| $(QMAKE_ENV) \ | ||||||||||||||||||||||||||||
| $(ANDROID_DEPLOY_QT) \ | ||||||||||||||||||||||||||||
| --input android-$(NAME)-deployment-settings.json \ | ||||||||||||||||||||||||||||
| --output "$$AAB" --gradle --aab \ | ||||||||||||||||||||||||||||
| $(ANDROID_DEPLOY_SIGN_FLAGS) | ||||||||||||||||||||||||||||
| --output "$$OUTDIR" --gradle --aab \ | ||||||||||||||||||||||||||||
| $(ANDROID_DEPLOY_SIGN_FLAGS) && \ | ||||||||||||||||||||||||||||
| if [ ! -f "$$AAB" ]; then \ | ||||||||||||||||||||||||||||
| BUILT_AAB="$$(find "$$OUTDIR" -type f -name '*.aab' | sort | tail -1)"; \ | ||||||||||||||||||||||||||||
| [ -n "$$BUILT_AAB" ] && cp "$$BUILT_AAB" "$$AAB"; \ | ||||||||||||||||||||||||||||
|
Comment on lines
+608
to
+609
|
||||||||||||||||||||||||||||
| BUILT_AAB="$$(find "$$OUTDIR" -type f -name '*.aab' | sort | tail -1)"; \ | |
| [ -n "$$BUILT_AAB" ] && cp "$$BUILT_AAB" "$$AAB"; \ | |
| BUILT_AABS="$$(find "$$OUTDIR" -type f -name '$(NAME)*.aab' -print)"; \ | |
| BUILT_AAB_COUNT="$$(printf '%s\n' "$$BUILT_AABS" | sed '/^$$/d' | wc -l | tr -d '[:space:]')"; \ | |
| if [ "$$BUILT_AAB_COUNT" = "1" ]; then \ | |
| cp "$$BUILT_AABS" "$$AAB"; \ | |
| else \ | |
| echo "Expected exactly one $(NAME) Android App Bundle in $$OUTDIR, found $$BUILT_AAB_COUNT." >&2; \ | |
| if [ "$$BUILT_AAB_COUNT" != "0" ]; then \ | |
| printf '%s\n' "$$BUILT_AABS" >&2; \ | |
| fi; \ | |
| exit 1; \ | |
| fi; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README says
build-release-package“runs only for version-tag pushes”, but inbuild.ymlthat job currently runs on branch pushes (stable/dev) and does not run on tag pushes. Please align this documentation with the actual workflow trigger/if:condition to avoid misleading maintainers.