File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1919jobs :
2020 build :
2121 timeout-minutes : 60
22- runs-on : ubuntu-22 .04
22+ runs-on : ubuntu-24 .04
2323 strategy :
2424 fail-fast : false
2525 matrix :
2626 flavor : [jammy, noble]
27+ runs-on : [ubuntu-24.04, ubuntu-24.04-arm]
2728 steps :
2829 - uses : actions/checkout@v4
2930 - name : Setup .NET Core
@@ -34,12 +35,14 @@ jobs:
3435 shell : bash
3536 run : ./build.sh --download-driver
3637 - name : Build Docker image
37- run : bash utils/docker/build.sh --amd64 ${{ matrix.flavor }} playwright-dotnet:localbuild-${{ matrix.flavor }}
38+ run : |
39+ ARCH="${{ matrix.runs-on == 'ubuntu-24.04-arm' && 'arm64' || 'amd64' }}"
40+ bash utils/docker/build.sh --$ARCH ${{ matrix.flavor }} playwright-dotnet:localbuild-${{ matrix.flavor }}
3841 - name : Cleanup
3942 run : dotnet clean src/ || true
4043 - name : Test
4144 run : |
42- CONTAINER_ID="$(docker run --rm --ipc=host -v $(pwd):/root/playwright --name playwright-docker-test --workdir /root/playwright/ -e CI -d -t playwright-dotnet:localbuild-${{ matrix.flavor }} /bin/bash)"
45+ CONTAINER_ID="$(docker run --rm -e CI - -ipc=host -v $(pwd):/root/playwright --name playwright-docker-test --workdir /root/playwright/ -e CI -d -t playwright-dotnet:localbuild-${{ matrix.flavor }} /bin/bash)"
4346 docker exec -e BROWSER=chromium "${CONTAINER_ID}" xvfb-run dotnet test ./src/Playwright.Tests/Playwright.Tests.csproj -c Debug --logger:"console;verbosity=detailed"
4447 docker exec -e BROWSER=firefox "${CONTAINER_ID}" xvfb-run dotnet test ./src/Playwright.Tests/Playwright.Tests.csproj -c Debug --logger:"console;verbosity=detailed"
4548 docker exec -e BROWSER=webkit "${CONTAINER_ID}" xvfb-run dotnet test ./src/Playwright.Tests/Playwright.Tests.csproj -c Debug --logger:"console;verbosity=detailed"
You can’t perform that action at this time.
0 commit comments