This commit is contained in:
27
.gitea/workflows/arm64-ci.yaml
Normal file
27
.gitea/workflows/arm64-ci.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Build .NET Project
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main # Trigger on pushes to the main branch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: arm64 # Use the ARM64 runner
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4 # Action to checkout your repository
|
||||||
|
|
||||||
|
# - name: Setup .NET SDK
|
||||||
|
# uses: actions/setup-dotnet@v4 # Action to install a specific .NET SDK version
|
||||||
|
# with:
|
||||||
|
# dotnet-version: '8.0.x' # Specify the desired .NET SDK version
|
||||||
|
|
||||||
|
- name: Restore dependencies
|
||||||
|
run: dotnet restore # Restore NuGet packages
|
||||||
|
|
||||||
|
- name: Build project
|
||||||
|
run: dotnet build --configuration Debug --no-restore # Build the project in Debug configuration
|
||||||
|
|
||||||
|
# - name: Run tests (optional)
|
||||||
|
# run: dotnet test --no-build # Run unit tests if available
|
||||||
Reference in New Issue
Block a user