diff options
author | Gabriel Dos Reis <GabrielDosReis@users.noreply.github.com> | 2022-09-13 10:17:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-13 10:17:25 -0700 |
commit | b1a3efb99ffc7f5d08b873cf244713126c966c9a (patch) | |
tree | 2f100416a904d753919b8c5cf05c6c0a30625524 | |
parent | 3c4f9b7f3d45fa2f51579a2231db5aaa8be2c685 (diff) | |
download | open-axiom-b1a3efb99ffc7f5d08b873cf244713126c966c9a.tar.gz |
Enable basic CI build (#26)
-rw-r--r-- | .github/workflows/main.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..01926c44 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +name: Build & Test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build-and-test: + name: ${{ matrix.os }} -x- $${ matrix.cxx }} -x- $${{ matrix.lisp }} + runs-on: $${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest ] + cxx: [ g++-11 ] + lisp: [ sbcl ] + + steps: + - uses: actions/checkout@v2 + + - name: Install Lisp and C++ compilers + if: matrix.os == 'ubuntu-latest' + run: | + sudo apt-get update && sudo apt upgrade + sudo apt-get install build-essential $${ matrix.lisp }} + + - name: Configure & Build & Test + run: | + mkdir $${ matrix.lisp }}-build && chdir $${ matrix.lisp }}-build + ../configure --with-lisp=$${ matrix.lisp }} + time make + time make check
\ No newline at end of file |