Skip to content

Homework7

Homework7 #96

Workflow file for this run

name: F# build CI
on: [push, pull_request]
jobs:
build-Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Build
run: $files = Get-ChildItem -Recurse -Filter '*.sln'; foreach ($file in $files) {dotnet build $file.FullName}
- name: Run Tests
run: $files = Get-ChildItem -Recurse -Filter '*.sln'; foreach ($file in $files) {dotnet test $file.FullName}
build-Ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Build
run: for f in $(find . -name "*.sln"); do dotnet build $f; done
- name: Run Tests
run: for f in $(find . -name "*.sln"); do dotnet test $f; done