From 12ddcb3ebd2986e54377a56440a45b55f5b51118 Mon Sep 17 00:00:00 2001 From: Wolfgang Dautermann Date: Tue, 5 Nov 2024 17:04:31 +0100 Subject: [PATCH] Try compile on Cygwin64. --- .github/workflows/compile_cygwin64.yml | 59 ++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .github/workflows/compile_cygwin64.yml diff --git a/.github/workflows/compile_cygwin64.yml b/.github/workflows/compile_cygwin64.yml new file mode 100644 index 0000000..78801da --- /dev/null +++ b/.github/workflows/compile_cygwin64.yml @@ -0,0 +1,59 @@ +name: compile_cygwin + +on: [push] + +jobs: + setup_cygwin: + runs-on: windows-latest + defaults: + run: + shell: C:\cygwin\bin\bash.exe --login --norc -o igncr '{0}' + + + steps: + - name: setup_cygwin + uses: cygwin/cygwin-install-action@v4 + with: + platform: x86_64 + packages: mingw64-x86_64-gcc-core mingw64-x86_64-gcc-g++ mingw64-x86_64-headers mingw64-x86_64-runtime make wget unzip patch + - name: Download_libffcall + run: wget https://ftp.gnu.org/gnu/libffcall/libffcall-2.5.tar.gz + - name: Extract_libffcall + run: tar xvf libffcall-2.5.tar.gz + - name: Build_libffcall + run: | + cd libffcall-2.5 + bash ./configure --enable-static --enable-shared=no --build=x86_64-unknown-cygwin --host=x86_64-w64-mingw32 --prefix=/home/runneradmin/libffcall + make + make install + - name: Download_libsigsegv + run: wget https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.14.tar.gz + - name: Extract_libsigsegv + run: tar xvf libsigsegv-2.14.tar.gz + - name: Build_libsigsegv + run: | + cd libsigsegv-2.14 + bash ./configure --build=x86_64-unknown-cygwin --host=x86_64-w64-mingw32 --prefix=/home/runneradmin/libsigsegv + make + make install + - name: Download_clisp + run: | + wget https://gitlab.com/gnu-clisp/clisp/-/archive/master/clisp-master.zip + - name: Extract_clisp + run: | + unzip clisp-master.zip + - name: configure_clisp + run: | + PATH=/usr/local/mingw32/bin:/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH + export PATH + pwd + cd clisp-master + wget https://raw.githubusercontent.com/daute/clisp-crossbuild/main/floatparam-error-unknown-rounding-mode-patch + patch src/floatparam.c