Skip to content

change into absolute path #17

change into absolute path

change into absolute path #17

Workflow file for this run

name: main
on:
push:
branches:
- master
paths-ignore:
- '**.md'
- '**.linq'
workflow_dispatch:
jobs:
build-native:
runs-on: ubuntu-latest
env:
GMP_VERSION: 6.3
GMP_SO_VERSION: 10.5.0
steps:
- name: Install dependencies
run: |
# Nothing to do
- name: Download Source
run: |
git clone --depth 1 https://github.com/gmp-mirror/gmp-${GMP_VERSION}.git
- name: autoreconf
run: |
cd gmp-${GMP_VERSION}
autoreconf -ivf
- name: Configure
run: |
cd gmp-${GMP_VERSION}
./configure --enable-shared --disable-static --enable-fat
- name: Build
run: |
cd gmp-${GMP_VERSION}
make MAKEINFO=true
- name: Check .libs
run: |
cd ./gmp-${GMP_VERSION}/.libs
ls -l
file libgmp.so.${GMP_SO_VERSION}
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: linux-x64
path: ${{ github.workspace }}/gmp-${GMP_VERSION}/.libs/libgmp.so.${GMP_SO_VERSION}