[Git][cmucl/cmucl][issue-423-update-ci-for-snapshot] Add some new variables so we have the correct values everywhere

Raymond Toy pushed to branch issue-423-update-ci-for-snapshot at cmucl / cmucl Commits: 179cb29a by Raymond Toy at 2025-07-12T17:15:46-07:00 Add some new variables so we have the correct values everywhere Add variables "year" and "month" so we have the correct year and month of the snapshot we want. (We'll have to do something different when we use a release.) Use these variables in the download_url and the version. Finally, add variable "tar_ext" so we use the correct tar extension everywhere too. - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -1,6 +1,9 @@ variables: - download_url: "https://common-lisp.net/project/cmucl/downloads/snapshots/2024/08" - version: "2025-07-x86" + year: "2025" + month: "07" + download_url: "https://common-lisp.net/project/cmucl/downloads/snapshots/$year/$month" + version: "$year-$month-x86" + tar_ext: "xz" bootstrap: "" # Default install configuration to download the cmucl tarballs to use @@ -15,10 +18,10 @@ variables: - ls -F /usr/local/bin - type -all gitlab-runner # Download binaries. (Do we really need the extras tarball?) - - $CURL -o cmucl-$version-$osname.tar.bz2 $download_url/cmucl-$version-$osname.tar.bz2 - - $CURL -o cmucl-$version-$osname.extra.tar.bz2 $download_url/cmucl-$version-$osname.extra.tar.bz2 + - $CURL -o cmucl-$version-$osname.tar.$tar_ext $download_url/cmucl-$version-$osname.tar.$tar_ext + - $CURL -o cmucl-$version-$osname.extra.tar.$tar_ext $download_url/cmucl-$version-$osname.extra.tar.$tar_ext - mkdir snapshot - - (cd snapshot; tar xf ../cmucl-$version-$osname.tar.xz; tar xf ../cmucl-$version-$osname.extra.tar.xz) + - (cd snapshot; tar xf ../cmucl-$version-$osname.tar.$tar_ext; tar xf ../cmucl-$version-$osname.extra.tar.$tar_ext) # Default build configuration to be added to each build stage for each # OS. This assumes we don't need anything special between OSes, and View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/179cb29ac3dead48c60d3a41... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/179cb29ac3dead48c60d3a41... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)