Fix UIHostingView environment resolution #75
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: Stdout Renderer | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| # Disable on Linux for now | |
| # stdout_renderer_linux: | |
| # name: Run stdout renderer on Linux | |
| # runs-on: ubuntu-22.04 | |
| # container: swift:6.2.4-jammy | |
| # env: | |
| # OPENSWIFTUI_WERROR: 0 | |
| # OPENSWIFTUI_SWIFT_LOG: 1 | |
| # OPENSWIFTUI_SWIFT_CRYPTO: 1 | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - name: Run stdout renderer example | |
| # run: Renderer/Stdout/run-example.sh | |
| stdout_renderer_macos: | |
| name: Run stdout renderer on macOS (${{ matrix.backend }}) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-15] | |
| xcode-version: ["26.3"] | |
| release: [2024] | |
| backend: [AttributeGraph, Compute] | |
| include: | |
| - backend: AttributeGraph | |
| attributegraph: "1" | |
| compute: "0" | |
| - backend: Compute | |
| attributegraph: "0" | |
| compute: "1" | |
| runs-on: | |
| - self-hosted | |
| - ${{ matrix.os }} | |
| env: | |
| OPENSWIFTUI_WERROR: 0 | |
| OPENSWIFTUI_TARGET_RELEASE: ${{ matrix.release }} | |
| OPENSWIFTUI_OPENATTRIBUTESHIMS_ATTRIBUTEGRAPH: ${{ matrix.attributegraph }} | |
| OPENSWIFTUI_OPENATTRIBUTESHIMS_COMPUTE: ${{ matrix.compute }} | |
| OPENSWIFTUI_OPENATTRIBUTESHIMS_COMPUTE_BINARY: 0 | |
| GH_TOKEN: ${{ github.token }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Xcode | |
| uses: OpenSwiftUIProject/setup-xcode@v2 | |
| with: | |
| xcode-version: ${{ matrix.xcode-version }} | |
| - name: Set up build environment | |
| run: Scripts/CI/darwin_setup_build.sh | |
| shell: bash | |
| - name: Run stdout renderer example | |
| run: Renderer/Stdout/run-example.sh |