Skip to content

No blank line

No blank line #5

name: Build Wheel
on:
workflow_dispatch:
push:
branches: [ "Cross_platform", "Build_in_Manylinux_image" ]
pull_request:
branches: [ "Cross_platform", "Build_in_Manylinux_image" ]
jobs:
build-wheels:
runs-on: ubuntu-latest
container:
image: quay.io/pypa/manylinux2014_x86_64
steps:
- name: Checkout code
uses: actions/checkout@v3
- run: yum install -y zip ninja-build
- run: |
git clone --depth=1 http://www.github.com/Microsoft/vcpkg
cd vcpkg
./bootstrap-vcpkg.sh
export VCPKG_ROOT=${{ github.workspace }}/vcpkg
- run: |
curl -OL http://download.osgeo.org/geos/geos-3.3.5.tar.bz2`
tar xfj geos-3.3.5.tar.bz2
cd geos-3.3.5
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/root/build_geos/_installed -DBUILD_SHARED_LIBS=ON -DBUILD_DOCUMENTATION=OFF -DBUILD_TESTING=OFF -G Ninja -B /root/build_geos -S .
cmake --build /root/build_geos
cp /root/build_geos/lib/libgeos_c.so sDNA/geos/x64/src
- run: |
export PATH=/opt/python/cp312-cp312/bin/:$PATH
python -m venv venv
. venv/bin/activate
python -m pip install build hatchling hatch-requirements-txt
- name: upload_output
id: installer-upload-step
uses: actions/upload-artifact@v4
with:
name: output_gcc_linux
path: output