Skip to content

Commit dea58ae

Browse files
fix: 添加 qemu 配置
1 parent dfcbbfc commit dea58ae

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build_wheels_linux.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

3535
Build:
36+
name: Build with_contrib ${{ matrix.with_contrib }} without_gui ${{ matrix.without_gui }}
3637
runs-on: ubuntu-22.04
3738
needs: Check
3839
if: needs.Check.outputs.build == '1'
@@ -68,18 +69,15 @@ jobs:
6869
- name: Cleanup
6970
run: find . -mindepth 1 -delete
7071
working-directory: ${{ github.workspace }}
71-
- name: Setup environment
72-
run: |
73-
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
74-
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
75-
fi
7672
- name: Checkout
7773
uses: actions/checkout@v3
7874
with:
7975
repository: opencv/opencv-python
8076
ref: ${{ env.VERSION }}
8177
submodules: false
8278
fetch-depth: 0
79+
- name: Setup QEMU
80+
uses: docker/setup-qemu-action@v3
8381
- name: Build a package
8482
run: source scripts/build.sh
8583
- name: Saving a wheel accordingly to matrix

0 commit comments

Comments
 (0)