Skip to content

【Hackathon 7th No.47】 Paddle2ONNX 添加对 While 算子的支持 (#1408) #427

【Hackathon 7th No.47】 Paddle2ONNX 添加对 While 算子的支持 (#1408)

【Hackathon 7th No.47】 Paddle2ONNX 添加对 While 算子的支持 (#1408) #427

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