Skip to content

Commit da3b80e

Browse files
committed
runner below
1 parent cdfe3fd commit da3b80e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test-opencvsharp.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
- { os: rhel.8, arch: arm64, runs-on: ubuntu-22.04-arm, image: oraclelinux:8 }
3535
- { os: rhel.9, arch: x64, runs-on: ubuntu-22.04, image: oraclelinux:9 }
3636
- { os: rhel.9, arch: arm64, runs-on: ubuntu-22.04-arm, image: oraclelinux:9 }
37-
# - { os: android, arch: arm64, runs-on: ubuntu-22.04 }
38-
# - { os: android, arch: x64, runs-on: ubuntu-22.04 }
37+
- { os: android, arch: arm64, runs-on: ubuntu-22.04 }
38+
- { os: android, arch: x64, runs-on: ubuntu-22.04 }
3939

4040
steps:
4141
- name: Download OpenCvSharp Artifacts
@@ -157,7 +157,6 @@ jobs:
157157
if: matrix.image != ''
158158
run: |
159159
docker run -d --name builder -v "$PWD":${{ github.workspace }} -w ${{ github.workspace }} ${{ matrix.image }} tail -f /dev/null
160-
docker run -d --name runner -v "$PWD":${{ github.workspace }} -w ${{ github.workspace }} ${{ matrix.image }} tail -f /dev/null
161160
162161
- name: Install Dependencies in Docker Container
163162
if: matrix.image != ''
@@ -208,7 +207,7 @@ jobs:
208207
if [[ "${{ matrix.image }}" == "" ]]; then
209208
cd test && ./test.exe
210209
else
211-
docker exec runner bash -c "cd test && ./test.exe"
210+
docker run -d --name runner -v "$PWD":${{ github.workspace }} -w ${{ github.workspace }} ${{ matrix.image }} bash -c "cd test && ./test.exe"
212211
fi
213212
214213
- name: Upload Artifacts

0 commit comments

Comments
 (0)