Skip to content

Fix heuristics, week 32. (#175) #271

Fix heuristics, week 32. (#175)

Fix heuristics, week 32. (#175) #271

Workflow file for this run

name: MLTrainer app
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths-ignore:
- '.github/workflows/onnx.yml'
- 'comments/**'
- 'docs/**'
- 'ml.net/**'
- 'onnxjs/**'
- '**/*.md'
env:
DOTNET_NOLOGO: true # Disable the .NET logo
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Disable the .NET first time experience
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
build:
strategy:
matrix:
os: [macos-12, windows-2022]
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: install .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.x
- name: Install MAUI Workloads
run: dotnet workload install maui-desktop --ignore-failed-sources
- name: Build MAUI App
run: dotnet publish Maui/MLTrainer/MLTrainer.sln -c Release -bl:logs/MLTrainer.binlog
- name: Archive logs
if: always()
uses: actions/upload-artifact@v2
with:
name: logs
path: logs
if-no-files-found: error
- name: Archive macOS MAUI App
uses: actions/upload-artifact@v2
with:
name: MLTrainer-macos
path: Maui/MLTrainer/bin/Release/net8.0-maccatalyst/publish
- name: Archive Windows MAUI App
uses: actions/upload-artifact@v2
with:
name: MLTrainer-windows
path: Maui/MLTrainer/bin/Release/net8.0-windows10.0.19041.0/win10-x64/publish