Skip to content

ci(audience): add Linux desktop to PlayMode CI matrix via GameCI (SDK-255)#745

Draft
ImmutableJeffrey wants to merge 1 commit intomainfrom
ci/sdk-255-audience-linux-il2cpp
Draft

ci(audience): add Linux desktop to PlayMode CI matrix via GameCI (SDK-255)#745
ImmutableJeffrey wants to merge 1 commit intomainfrom
ci/sdk-255-audience-linux-il2cpp

Conversation

@ImmutableJeffrey
Copy link
Copy Markdown
Collaborator

@ImmutableJeffrey ImmutableJeffrey commented May 7, 2026

Summary

Adds Linux desktop support to the audience CI matrix.

SDK package

  • Adds LinuxStandalone64 to includePlatforms in src/Packages/Audience/Runtime/com.immutable.audience.asmdef and src/Packages/Audience/Runtime/Unity/com.immutable.audience.unity.asmdef. Without these, the SDK does not compile when the build target is Linux and the sample app errors with CS0246 for every audience type. The Tests asmdef already included Linux.

CI

  • Adds a playmode-linux job in .github/workflows/test-audience-sample-app.yml that runs the audience PlayMode tests on ubuntu-latest-8-cores via game-ci/unity-test-runner@v4. Covers both scripting backends (IL2CPP and Mono2x) for Unity 2021.3.45f2, 6000.4.0f1, and 2022.3.62f2, matching the Win/macOS coverage.
  • Linux runs via GameCI on GitHub-hosted Ubuntu rather than a self-hosted machine, leaving self-hosted runners free for Win/macOS cells.

Out of scope (separate tickets)

  • Audience runtime Linux portability (paths, permissions, locale, case-sensitivity): SDK-317.
  • Sample app Linux build verification: SDK-318.

Linear: SDK-255

- Adds LinuxStandalone64 to includePlatforms in
  src/Packages/Audience/Runtime/com.immutable.audience.asmdef and
  src/Packages/Audience/Runtime/Unity/com.immutable.audience.unity.asmdef
  so the SDK compiles when the build target is Linux. Without these,
  the sample app errors with CS0246 for every audience type. The Tests
  asmdef already included Linux.
- Adds a playmode-linux job in
  .github/workflows/test-audience-sample-app.yml that runs the
  audience PlayMode tests on ubuntu-latest-8-cores via
  game-ci/unity-test-runner@v4. Covers IL2CPP and Mono2x backends for
  Unity 2021.3.45f2, 6000.4.0f1, and 2022.3.62f2, matching the
  Win/macOS coverage.
- Linux runs via GameCI on GitHub-hosted Ubuntu rather than a
  self-hosted machine. Self-hosted Linux on residential bandwidth
  spent ~170s per job uploading the Library cache; GameCI completes
  the same work in ~138s and keeps self-hosted runners free for
  Win/macOS.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ImmutableJeffrey ImmutableJeffrey force-pushed the ci/sdk-255-audience-linux-il2cpp branch from 5526923 to 01f55a8 Compare May 7, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant