Repository navigation
Cleanup/tasks 1.3 1.4 - #29
Merged
Merged
Conversation
- Dockerfile (multi-stage):
* 'test' stage: restores, builds, and runs DAL + BL xUnit tests
inside the container (build fails if any test fails)
* 'android-build' stage: installs maui-android workload + JDK,
compiles Debug APK headlessly on Linux (no emulator needed)
* 'apk-export' stage: scratch image exposing only the .apk for CI artifact extraction
- .dockerignore: excludes git history, IDE files, bin/obj, SQLite DBs,
and test results from the build context
- .github/workflows/ci.yml: split into two parallel jobs:
* 'test': builds the 'test' Docker stage (runs xUnit inside)
* 'android-build': builds 'apk-export' stage, uploads APK as artifact
Both jobs share per-scope GHA layer cache for fast reruns.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title
Purge orphaned views (Tasks 1.3 & 1.4) and add containerized test workflow
Description
This PR resolves issues #7 and #8 as part of the
epic: pre-migration cleanup, removing dead and unused views ahead of the Avalonia migration. In addition, it introduces a containerized Docker build configuration for local development and CI testing.Changes
1. Orphaned View Removal (Tasks 1.3 & 1.4)
GameEditView(.xamland.xaml.cs): Removed dead mockup view. (Closes [Task 1.3] Purge Orphaned View: GameEditView #7)LibraryGameDetailView(.xamland.xaml.cs): Removed unused template view. (Closes [Task 1.4] Purge Orphaned View: LibraryGameDetailView #8)<MauiXaml>entry forLibraryGameDetailViewfromGameLib.App.csproj.2. Containerized CI & Docker Support
Dockerfile:teststage: Builds and executes the full DAL + BL test suites inside .NET 10 on Linux.android-buildstage: Installs OpenJDK 17 andmaui-androidworkload for headless Android compilation checks.apk-exportstage: Scratch stage for exporting the compiled.apk..dockerignoreto keep build contexts lightweight (excludingbin/,obj/, SQLite.dbfiles, test artifacts)..github/workflows/ci.ymlto run containerized test jobs with GitHub Actions cache (type=gha).Verification
podman build --target test&podman run):Closes #7
Closes #8