Linux build slideio wheels #27
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: Linux build slideio wheels | |
on: [workflow_dispatch] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-20.04 | |
container: | |
image: booritas/slideio-manylinux_2_28_x86_64:v3.0.0 | |
env: | |
CONAN_REVISIONS_ENABLED: 1 | |
steps: | |
- name: Install conan | |
run: python3 -m pip install -U conan==1.65.0 | |
- name: Conan version | |
run: echo "${{ steps.conan.outputs.version }}" | |
- name: Add digital ocean conan remote | |
run: | | |
conan remote add digitalo http://167.172.176.224 | |
conan user -p ${{ secrets.CONAN_DO_PASSWORD }} -r digitalo ${{ secrets.CONAN_DO_USER }} | |
- name: Conan remote | |
run: conan remote list | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: list available python versions | |
run: ls -la /opt/python | |
- name: Install conan dependencies | |
run: | | |
python3 install.py -a conan -c release | |
conan upload "*" -r digitalo --all -c | |
- name: build python packages | |
working-directory: ./src/py-bind | |
run: bash ./build-wheels-linux.sh | |
- name: Archive python packagess | |
uses: actions/upload-artifact@v4 | |
with: | |
name: python-dist | |
path: | | |
./src/py-bind/wheelhouse |