Add preliminary Julia algebraic numbers support #1
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
name: FriCAS CI on Linux (with Julia support - SBCL based) | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install sbcl libgmp-dev libxpm-dev cl-hunchentoot python3 python3-pip && pip3 install -U Sphinx | |
- name: download Julia | |
run: wget -c https://julialang-s3.julialang.org/bin/linux/x64/1.10/julia-1.10.0-linux-x86_64.tar.gz | |
- name: install Julia | |
run: tar zxf julia-1.10.0-linux-x86_64.tar.gz && sudo cp -R julia-1.10.0/* /usr/local/ && sudo ldconfig | |
- name: install Julia libraries | |
run: julia -e "import Pkg;Pkg.add(\"Nemo\");Pkg.add(\"Suppressor\");Pkg.add(\"SpecialFunctions\")" | |
- name: configure | |
run: ./configure --with-lisp="sbcl --dynamic-space-size 4096" --with-gmp --enable-julia --enable-hunchentoot || cat config.log | |
- name: make | |
run: make -j4 --output-sync | |
- name: make html doc | |
run: make -j4 --output-sync htmldoc | |
- name: make check | |
run: make check -j4 --output-sync | |
- name: Create artifact archives | |
run: | | |
rm -r target/*/src | |
tar -cjf FriCAS-linux-x86_64-${{ github.sha }}.tar.bz2 target/ | |
- name: Upload Linux binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: FriCAS-linux-x86_64-binary | |
path: FriCAS-linux-x86_64-${{ github.sha }}.tar.bz2 |