readd build step #1298
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [master, beta, ci] | |
| pull_request: | |
| branches: [master, beta, ci] | |
| workflow_dispatch: | |
| jobs: | |
| cancel_previous: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: styfle/cancel-workflow-action@0.12.1 | |
| with: | |
| workflow_id: ${{ github.event.workflow.id }} | |
| run-e2e-ios: | |
| runs-on: 'macos-15' | |
| env: | |
| YARN_ENABLE_HARDENED_MODE: 0 | |
| steps: | |
| - name: Setup Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: '26.1.1' | |
| - name: Install applesimutils | |
| env: | |
| HOMEBREW_NO_AUTO_UPDATE: 1 | |
| run: | | |
| brew tap wix/brew >/dev/null | |
| brew install applesimutils >/dev/null | |
| - uses: actions/checkout@v4 | |
| - name: Install devbox | |
| uses: jetify-com/devbox-install-action@v0.12.0 | |
| with: | |
| enable-cache: 'true' | |
| - name: IOS E2E Test | |
| env: | |
| EXCLUDED_ARCHS: "x86_64" | |
| run: devbox run test-ios --omit-nix-env | |
| run-e2e-android: | |
| runs-on: 'ubuntu-latest' | |
| strategy: | |
| matrix: | |
| api-level: [21] | |
| profile: ['pixel_xl'] | |
| env: | |
| YARN_ENABLE_HARDENED_MODE: 0 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Emulator Setup | |
| run: | | |
| echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | |
| sudo udevadm control --reload-rules | |
| sudo udevadm trigger --name-match=kvm | |
| sudo apt-get install -y libpulse0 libgl1 | |
| - name: Install devbox | |
| uses: jetify-com/devbox-install-action@v0.12.0 | |
| with: | |
| enable-cache: 'true' | |
| - name: Check Disk Space | |
| run: df -H | |
| - name: Detox - Test | |
| uses: ReactiveCircus/android-emulator-runner@v2.35.0 | |
| with: | |
| api-level: ${{ matrix.api-level }} | |
| profile: ${{matrix.profile}} | |
| avd-name: Pixel_API_21_AOSP | |
| target: default | |
| force-avd-creation: false | |
| emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | |
| disable-animations: true | |
| script: devbox run test-android |