Better Float32 support. Populate JWSEXPR. #45
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 x64 Windows (with Julia support - SBCL based) | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
timeout-minutes: 30 | |
env: | |
SBCL_VER: 2.4.9 | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: msys2/setup-msys2@v2 | |
with: | |
install: make mingw-w64-x86_64-gcc mingw-w64-x86_64-gmp gmp-devel unzip zip | |
- name: download and install SBCL | |
run: | | |
wget https://downloads.sourceforge.net/project/sbcl/sbcl/${SBCL_VER}/sbcl-${SBCL_VER}-x86-64-windows-binary.msi | |
msiexec -i sbcl-${SBCL_VER}-x86-64-windows-binary.msi -passive | |
- name: download and install Julia | |
run: | | |
wget https://julialang-s3.julialang.org/bin/winnt/x64/1.11/julia-1.11.2-win64.zip | |
unzip julia-1.11.2-win64.zip | |
cp -rf julia-1.11.2/* /usr/local/ | |
- name: install Julia libraries | |
run: julia -e "import Pkg;Pkg.add(\"Nemo\");Pkg.add(\"Suppressor\");Pkg.add(\"SpecialFunctions\")" | |
- uses: actions/checkout@v4 | |
- name: configure and make | |
run: | | |
cp -R "/c/Program Files/Steel Bank Common Lisp" /usr/local/share/sbcl | |
export SBCL_HOME=/usr/local/share/sbcl | |
export PATH=$SBCL_HOME:$PATH | |
mkdir ../build && cd ../build | |
../jlfricas/configure --enable-gmp --enable-julia --enable-mathlink || cat config.log | |
make -j2 --output-sync | |
- name: make check | |
run: cd ../build && make check -j2 --output-sync | |
- name: Create artifact archives | |
run: | | |
test "$GITHUB_REF_TYPE" != "tag" && rm -r ../build/target/*/src | |
rm ../build/target/x86_64-w64-mingw32/bin/fricas | |
mv ../build/target/x86_64-w64-mingw32 jlFriCAS-windows-x86_64 | |
cp /mingw64/bin/libgmp-10.dll jlFriCAS-windows-x86_64/lib/ | |
zip -r jlFriCAS-windows-x86_64-${{ github.sha }}.zip jlFriCAS-windows-x86_64 | |
- name: Upload Windows binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: jlFriCAS-windows-x86_64-binary | |
path: jlFriCAS-windows-x86_64-${{ github.sha }}.zip |