-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |