[Git][cmucl/cmucl][issue-337-cross-compile-linux-x86-fails] Add CI to do cross-compile and run unit-tests

Raymond Toy pushed to branch issue-337-cross-compile-linux-x86-fails at cmucl / cmucl Commits: d76be25f by Raymond Toy at 2024-07-15T14:40:25-07:00 Add CI to do cross-compile and run unit-tests Do a cross-compile and then a native build to test the cross-compiler. Then use that result (in `xdist/bin/lisp`) to run the unit tests. These should work. - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -52,6 +52,20 @@ linux:build: # describe return something that make-dist.sh doesn't like. - bin/make-dist.sh -V `git describe --dirty` -I dist linux-4 +linux:cross-build: + stage: build + tags: + - linux + needs: + - job: linux:install + artifacts: true + script: + - bin/create-target.sh xtarget + - bin/create-target.sh xcross + - bin/cross-build-world.sh -crl xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp snapshot/bin/lisp + - bin/build.sh $bootstrap -R -C "" -o xtarget/lisp/lisp + - bin/make-dist.sh -V `git describe --dirty` -I xdist linux-4 + linux:test: stage: test tags: @@ -67,6 +81,21 @@ linux:test: script: - bin/run-unit-tests.sh -l dist/bin/lisp 2>&1 | tee test.log +linux:cross-test: + stage: test + tags: + - linux + artifacts: + paths: + - ansi-test/test.out + - cross-test.log + needs: + # Needs artifacts from build (dist/) + - job: linux:cross-build + artifacts: true + script: + - bin/run-unit-tests.sh -l xdist/bin/lisp 2>&1 | tee cross-test.log + linux:ansi-test: stage: ansi-test tags: View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/d76be25f99317f2fd9df7aa9... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/d76be25f99317f2fd9df7aa9... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)