expose get_all_supported_ops in python #396
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: Build and Test | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.8'] | |
architecture: [ 'x64' ] | |
steps: | |
# Checkout the latest branch of Paddle2ONNX. | |
- name: Checkout Paddle2ONNX | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Build on manylinux2014_x86_64 | |
uses: docker://quay.io/pypa/manylinux2014_x86_64:latest | |
with: | |
entrypoint: bash | |
args: .github/workflows/scripts/entrypoint.sh ${{ matrix.python-version }} manylinux2014_x86_64 CentOS | |
- name: Setup Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
# Install Paddle2ONNX | |
- name: Install Paddle2ONNX | |
run: | | |
python -m pip install dist/*.whl | |
# Install Test | |
- name: Run Test | |
working-directory: ./tests | |
run: | | |
bash run.sh python |