Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: minor improvements #53

Merged
merged 2 commits into from
Oct 30, 2024
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
30 changes: 22 additions & 8 deletions .github/workflows/System.Waf.CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,30 @@ on:
- 'src/System.Waf/**'
- 'src/Samples.UITest/**'
- '.github/workflows/**'

jobs:
build:
name: 🛠️ Build and test
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: 🔖 Check-out
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build

- name: ⚙️ Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8'

- name: 🛠️ Build
run: dotnet build ./src/System.Waf/System.Waf.sln -c Release -p:ContinuousIntegrationBuild=true
- name: Test

- name: 🕵️ Test
run: dotnet test ./src/System.Waf/System.Waf.sln -c Release --no-build
- name: Upload NuGet Packages

- name: 📦 Upload NuGet Packages
uses: actions/upload-artifact@v4
with:
name: Packages
Expand All @@ -26,17 +38,19 @@ jobs:
src/System.Waf/System.Waf/**/*.nupkg
src/System.Waf/System.Waf/**/*.snupkg

- name: UI Test
- name: 🖥️ UI Test
run: dotnet test ./src/Samples.UITest/Samples.UITest.sln --logger "console;verbosity=detailed" -maxCpuCount:1
- name: Upload UI Test results

- name: 📦 Upload UI Test results
uses: actions/upload-artifact@v4
if: always()
with:
name: UITestResults
if-no-files-found: ignore
path: |
out/Samples.UITest/
- name: Upload UI Test App logs
out/Samples.UITest/

- name: 📦 Upload UI Test App logs
uses: actions/upload-artifact@v4
if: always()
with:
Expand Down