Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 44 additions & 44 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
name: CI

on:
pull_request:
branches: [master]

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
BUILD_CONFIGURATION: Release
BUILD_PLATFORM: x64

jobs:
build-and-test:
name: Build & Test
runs-on: windows-latest

steps:
- uses: actions/checkout@v6

- name: Setup .NET 10
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'

- name: Restore
run: dotnet restore ai-dev-net.slnx -p:Configuration=${{ env.BUILD_CONFIGURATION }} -p:Platform="${{ env.BUILD_PLATFORM }}"

- name: Build
run: dotnet build ai-dev-net.slnx --configuration ${{ env.BUILD_CONFIGURATION }} --no-restore -p:Platform="${{ env.BUILD_PLATFORM }}"

- name: Unit Tests
run: >
dotnet test ai-dev-net.tests.unit/ai-dev-net.tests.unit.csproj
--configuration ${{ env.BUILD_CONFIGURATION }}
--no-build
--logger trx
--results-directory TestResults

- name: Upload test results
if: always()
uses: actions/upload-artifact@v7
with:
name: unit-test-results
path: TestResults/*.trx
name: CI
on:
pull_request:
branches: [master]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
BUILD_CONFIGURATION: Release
BUILD_PLATFORM: x64
jobs:
build-and-test:
name: Build & Test
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
- name: Setup .NET 10
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'
- name: Restore
run: dotnet restore ai-dev-net.slnx -p:Configuration=${{ env.BUILD_CONFIGURATION }} -p:Platform="${{ env.BUILD_PLATFORM }}"
- name: Build
run: dotnet build ai-dev-net.slnx --configuration ${{ env.BUILD_CONFIGURATION }} --no-restore -p:Platform="${{ env.BUILD_PLATFORM }}"
- name: Unit Tests
run: >
dotnet test ai-dev-net.tests.unit/ai-dev-net.tests.unit.csproj
--configuration ${{ env.BUILD_CONFIGURATION }}
--no-build
--logger trx
--results-directory TestResults
- name: Upload test results
if: always()
uses: actions/upload-artifact@v7
with:
name: unit-test-results
path: TestResults/*.trx