Raymond Toy pushed to branch rtoy-add-opensuse-runner at cmucl / cmucl
Commits: 3e79a3ff by Raymond Toy at 2024-08-04T13:28:27-07:00 Add new OpenSUSE install and build jobs
Previous attempt was wrong, so let's just add separate install and build jobs for OpenSUSE.
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
===================================== .gitlab-ci.yml ===================================== @@ -19,7 +19,6 @@ linux:install: stage: install tags: - linux - - opensuse artifacts: paths: - snapshot/ @@ -33,7 +32,6 @@ linux:build: stage: build tags: - linux - - opensuse artifacts: paths: - dist/ @@ -260,3 +258,44 @@ linux:static-analyzer: # having the logs go to the console too. - make -C linux-4/lisp clean - make -C linux-4/lisp CFLAGS=-fanalyzer > analyzer.log 2>&1 + +opensuse:install: + stage: install + tags: + - opensus + artifacts: + paths: + - snapshot/ + script: + - wget -nv $download_url/cmucl-$version-linux.tar.bz2 + - wget -nv $download_url/cmucl-$version-linux.extra.tar.bz2 + - mkdir snapshot + - (cd snapshot; tar xjf ../cmucl-$version-linux.tar.bz2; tar xjf ../cmucl-$version-linux.extra.tar.bz2) + +opensuse:build: + stage: build + tags: + - opensuse + artifacts: + paths: + - dist/ + - linux-2/*.log + - linux-3/*.log + - linux-4/ + needs: + - job: linux:install + artifacts: true + script: + # Do cross compile first + #- bin/create-target.sh xtarget x86_linux_clang + #- bin/create-target.sh xcross x86_linux_clang + #- bin/cross-build-world.sh -crl -B boot-2020-04-1 xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp snapshot/bin/lisp + # Regular build using the cross-compiled result or snapshot. The + # analyzer job requires gcc, so make sure we build with gcc here + # instead of clang. + - bin/build.sh $bootstrap -R -C "x86_linux" -o snapshot/bin/lisp + # - bin/build.sh $bootstrap -R -C "x86_linux" -o snapshot/bin/lisp + # Use -V to specify the version in case some tag makes git + # describe return something that make-dist.sh doesn't like. + - bin/make-dist.sh -V `git describe --dirty` -I dist linux-4 +
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/3e79a3ffacaac75841f48361...