Skip to content

Conversation

Copy link

Copilot AI commented Oct 31, 2025

Migrates .azure/azure-pipelines-android.yml to .github/workflows/android.yml for native GitHub Actions execution.

Changes

  • Workflow structure: Converted Azure Pipelines YAML to GitHub Actions format with 4-architecture matrix (ARM, AARCH64, i686, x86_64)
  • Dependency builds: Expanded inline 10 CMake template invocations for pcre, libogg, libvorbis, flac, opus, libsndfile, oboe, libinstpatch, fluidsynth, and fluidsynth-assetloader
  • Environment setup: Migrated variable setting from ##vso[task.setvariable] to $GITHUB_ENV/$GITHUB_PATH
  • Caching: Replaced Cache@2 with actions/cache@v4, added dependency version hashing to cache key
  • Artifacts: Replaced PublishBuildArtifacts@1 with actions/upload-artifact@v4
  • Permissions: Added explicit contents: read for least-privilege token access

Preserved

  • NDK 27.3.13750724, Android API 24
  • All 14 dependency compilations (libiconv, libffi, gettext via autotools; glib via meson; remainder via CMake)
  • Weekly scheduled builds without caching
  • 16KB page alignment verification
  • Custom install commands for oboe and fluidsynth-assetloader

Key mappings

# Azure Pipelines → GitHub Actions
$(System.DefaultWorkingDirectory) → ${{ github.workspace }}
$(Build.ArtifactStagingDirectory) → ${{ runner.temp }}/artifacts
condition: → if:
template: cmake-android.yml → inline step with cmake invocation
Original prompt

Port .azure/azure-pipelines-android.yml to a GitHub Action workflow.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Port Azure pipeline configuration to GitHub Action workflow Port Azure Pipelines Android workflow to GitHub Actions Oct 31, 2025
Copilot AI requested a review from derselbst October 31, 2025 10:58
Updated paths to ignore and modified environment variable settings for Android NDK and build directories.
Refactor Android NDK environment variable setup in workflow.
Added usage instructions for the CMake Android action.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants