Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rtoy authored Jul 14, 2024
1 parent 5c8483f commit 4013961
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name : GitHub Actions Continuous Integration
run-name : ${ { github.actor} } is running CI 🚀
on : [ push]
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!"
- run : echo"🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- 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

0 comments on commit 4013961

Please sign in to comment.