Skip to content

Commit

Permalink
Add CI builds for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-lerch committed Dec 16, 2024
1 parent a838417 commit acdc53b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/dotnet-android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Android

on:
push:

jobs:

build:
name: Build and create APK

strategy:
matrix:
configuration: [Debug, Release]

runs-on: ubuntu-24.04

env:
App_Project_Directory: src/Vocup.Android

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

# Install .NET SDK
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x

- name: Restore NuGet packages
run: dotnet restore $App_Project_Directory

- name: Build and create APK
run: dotnet build --no-restore --configuration ${{ matrix.configuration }} $App_Project_Directory
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Windows Forms build and package
name: Windows

on:
push:

jobs:

build:
name: Build and package MSIX

strategy:
matrix:
Expand All @@ -25,7 +26,7 @@ jobs:
with:
fetch-depth: 0

# Install the .NET Core workload
# Install .NET SDK
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
Expand Down

0 comments on commit acdc53b

Please sign in to comment.