Skip to content

Commit bf12688

Browse files
authored
增加cpu安装包的多系统多python版本的安装功能测试 (#3052)
1 parent 8ec3183 commit bf12688

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.github/workflows/run_check.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: PaddlePaddle Packages Run Check
2+
run-name: Runs on ${{ github.event_name }}
3+
4+
on:
5+
workflow_dispatch:
6+
workflow_call:
7+
schedule:
8+
- cron: "0 20 * * *"
9+
10+
jobs:
11+
run-check:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-20.04, ubuntu-latest, macos-latest, macos-13, ubuntu-24.04-arm, windows-latest] # x86 和 ARM
16+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
17+
18+
steps:
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Upgrade pip and install setuptools
25+
run: python -m pip install --upgrade pip setuptools
26+
27+
- name: Install dependencies
28+
run: python -m pip install --pre paddlepaddle -i https://www.paddlepaddle.org.cn/packages/nightly/cpu/
29+
30+
- name: Run Check
31+
run: |
32+
python -c "import paddle; paddle.version.show(); paddle.utils.run_check()"

.github/workflows/source_sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: source code sync to bos
2-
run-name: Source code synchronization
1+
name: PaddleTest sync to bos
2+
run-name: PaddleTest synchronization
33
on:
44
workflow_dispatch:
55
push:

0 commit comments

Comments
 (0)