diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eec9b5c59..2312720ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,48 +5,48 @@ jobs : Continuous Integration runs-on: ubuntu-24.04 steps: - - run: echo"🎉 The job was automatically triggered by a ${{ github.event_name }} event." - - run: echo"🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo"💡 The ${{ github.repository }} repository has been cloned to the runner." - - run: echo"🖥️ The workflow is now ready to test your code on the runner." - - name: Update OS and get tools - run: | - sudo apt-get update - # Cmucl needs 32-bit libs to run - sudo apt-get install gcc-multilib - # texlive for latex so we can build the pdf manual. - # texlive-plain-generic to get epsf.sty that's needed by the - # manual. - sudo apt-get install texlive texlive-plain-generic - - name: Get cmucl binaries - run: | - wget -nv https://common-lisp.net/project/cmucl/downloads/snapshots/2024/04/cmucl-2024-04-x86-linux.tar.bz2 - wget -nv https://common-lisp.net/project/cmucl/downloads/snapshots/2024/04/cmucl-2024-04-x86-linux.extra.tar.bz2 - mkdir snapshot - tar -C snapshot -xjf cmucl-2024-04-x86-linux.tar.bz2 - tar -C snapshot -xjf cmucl-2024-04-x86-linux.extra.tar.bz2 - - name: Build - run: | - # Regular build - bin/build.sh -R -C x86_linux -o snapshot/bin/lisp - bin/make-dist.sh -V `git describe --dirty` -I dist linux-4 - - name: Unit tests - run: | - bin/run-unit-tests.sh -l dist/bin/lisp 2>&1 | tee unit-test.log - - name: Archive unit test results - uses: actions/upload-artifacts@v4 - with: - name: unit-tests - path: | - unit-test.log - - name: Ansi tests - run: | - bin/run-ansi-tests.sh -l dist/bin/lisp - - name: Archive ansi-test - uses: actions/upload-artifacts@v4 - with: - name: ansi-tests - path: | - test.log + - run: echo"🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo"🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo"💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo"🖥️ The workflow is now ready to test your code on the runner." + - name: Update OS and get tools + run: | + sudo apt-get update + # Cmucl needs 32-bit libs to run + sudo apt-get install gcc-multilib + # texlive for latex so we can build the pdf manual. + # texlive-plain-generic to get epsf.sty that's needed by the + # manual. + sudo apt-get install texlive texlive-plain-generic + - name: Get cmucl binaries + run: | + wget -nv https://common-lisp.net/project/cmucl/downloads/snapshots/2024/04/cmucl-2024-04-x86-linux.tar.bz2 + wget -nv https://common-lisp.net/project/cmucl/downloads/snapshots/2024/04/cmucl-2024-04-x86-linux.extra.tar.bz2 + mkdir snapshot + tar -C snapshot -xjf cmucl-2024-04-x86-linux.tar.bz2 + tar -C snapshot -xjf cmucl-2024-04-x86-linux.extra.tar.bz2 + - name: Build + run: | + # Regular build + bin/build.sh -R -C x86_linux -o snapshot/bin/lisp + bin/make-dist.sh -V `git describe --dirty` -I dist linux-4 + - name: Unit tests + run: | + bin/run-unit-tests.sh -l dist/bin/lisp 2>&1 | tee unit-test.log + - name: Archive unit test results + uses: actions/upload-artifacts@v4 + with: + name: unit-tests + path: | + unit-test.log + - name: Ansi tests + run: | + bin/run-ansi-tests.sh -l dist/bin/lisp + - name: Archive ansi-test + uses: actions/upload-artifacts@v4 + with: + name: ansi-tests + path: | + test.log