-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
7a41b6f1b (3.0)
I have a several projects which is built for windows, macos and linux. It is useful to set qbs version for build in CI file since qbs can have behavior changes. I don't want to rebuild my build containers in case of new qbs version.
I have an ftp mirror and can do the following for Windows and Linux:
qbs_directory="${USERPROFILE}/opt/qbs" mkdir -p ${qbs_directory} qbs_location="${FTP_ROOT}/qbs/${QBS_VERSION}/qbs-${PLATFORM}-${ARCH}-${QBS_VERSION}.zip" curl "${qbs_location}" -o ${qbs_directory}/qbs.zip pushd ${qbs_directory} unzip -q qbs.zip popd export PATH="${PATH}:${qbs_directory}/bin"
It works like a charm but I also have macOS in my build matrix. I chose creating local homebrew repository with fixed qt formula and several versioned qbs formulas. It works but forces me to add formulas for new version manually which is less comfortable than auto sync for file server =)
Why macos version of prebuilt qbs can not be distributed as an self-sufficient archive?
For Gerrit Dashboard: QBS-1852 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
667686,5 | GitHub actions: add macos artifacts to archive | 3.0 | qbs/qbs | Status: MERGED | +2 | +1 |