Skip to content

Commit 79a525b

Browse files
committed
tests a log
1 parent 248b022 commit 79a525b

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

.github/workflows/test-opencvsharp.yml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ jobs:
240240
name: test-android-x64
241241
path: test
242242

243+
- name: chmod+x
244+
run: chmod +x test/test.exe
245+
243246
- name: Enable KVM group perms
244247
run: |
245248
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
@@ -267,7 +270,33 @@ jobs:
267270
matrix:
268271
include:
269272
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: centos:7 }
273+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: centos:8 }
274+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: centos:9 }
275+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: debian:8 }
276+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: debian:9 }
277+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: debian:10 }
278+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: debian:11 }
279+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: debian:12 }
280+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: ubuntu:14.04 }
281+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: ubuntu:16.04 }
282+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: ubuntu:18.04 }
283+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: ubuntu:20.04 }
284+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: ubuntu:22.04 }
285+
- { os: centos.7, arch: x64, runs-on: ubuntu-22.04, image: ubuntu:24.04 }
270286
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: centos:7 }
287+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: centos:8 }
288+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: centos:9 }
289+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: debian:8 }
290+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: debian:9 }
291+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: debian:10 }
292+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: debian:11 }
293+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: debian:12 }
294+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: ubuntu:14.04 }
295+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: ubuntu:16.04 }
296+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: ubuntu:18.04 }
297+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: ubuntu:20.04 }
298+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: ubuntu:22.04 }
299+
- { os: centos.7, arch: arm64, runs-on: ubuntu-22.04-arm, image: ubuntu:24.04 }
271300
steps:
272301
- name: Download Artifacts
273302
uses: actions/download-artifact@v4
@@ -277,9 +306,9 @@ jobs:
277306

278307
- name: Start Docker Container
279308
run: |
280-
docker run -d --name builder -v "$PWD":${{ github.workspace }} -w ${{ github.workspace }} ${{ matrix.image }} tail -f /dev/null
309+
docker run -d --name runner -v "$PWD":${{ github.workspace }} -w ${{ github.workspace }} ${{ matrix.image }} tail -f /dev/null
281310
282311
- name: Run Tests
283312
run: |
284313
chmod +x test/test.exe
285-
docker exec builder bash -c "cd test && ./test.exe"
314+
docker exec runner bash -c "cd test && ./test.exe"

0 commit comments

Comments
 (0)