diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 406f3e71b..dc53f230d 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -8,7 +8,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest] newArchEnabled: [false, true] runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml deleted file mode 100644 index b7683c6e2..000000000 --- a/.github/workflows/windows-ci.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Windows CI -on: - -jobs: - run-windows-tests: - name: Build & run tests - runs-on: windows-2022 - - steps: - - uses: actions/checkout@v3 - name: Checkout Code - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: '^20' - cache: 'yarn' - - - name: Setup MSBuild - uses: microsoft/setup-msbuild@v1.1.3 - with: - vs-version: '[17.0,)' - msbuild-architecture: x64 - - - name: Install node modules - run: yarn --pure-lockfile - - - name: yarn build - run: | - yarn build - yarn tsc - - - name: Build x64 release - shell: powershell - run: yarn windows --release --no-packager --no-deploy --logging - - # Workaround for a bug in package searching during deploy. - # The deploy script only searches windows/{*/bin/x64/Release,Release/*}, but the build step above placed the packages at windows/x64/Release. - # Copy the packages to Windows/Release before deploying. - - name: Deploy - shell: powershell - run: | - Copy-Item -Path example\windows\x64\Release -Recurse -Destination example\windows\ - npx react-native run-windows --arch x64 --release --root example --logging --no-build --no-packager --deploy-from-layout - - - name: Start Appium server - shell: powershell - run: Start-Process PowerShell -ArgumentList "yarn appium" - - - name: Start React server - shell: powershell - run: Start-Process PowerShell -ArgumentList "yarn start" - - - name: Run tests - run: yarn test:windows