Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1852

Publish macos build of qbs as an archive

XMLWordPrintable

    • 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

            kandeler Christian Kandeler
            undefbehavior Dmitrii Meshkov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes