Skip to content

Commit

Permalink
Add net8 testing[WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
gdziadkiewicz committed Oct 28, 2024
1 parent e037135 commit 33455b3
Show file tree
Hide file tree
Showing 15 changed files with 1,087 additions and 550 deletions.
14 changes: 5 additions & 9 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,19 @@
"version": 1,
"isRoot": true,
"tools": {
"fake-cli": {
"version": "6.0.0",
"commands": [
"fake"
]
},
"paket": {
"version": "7.2.1",
"version": "8.0.3",
"commands": [
"paket"
]
],
"rollForward": false
},
"fsdocs-tool": {
"version": "19.1.1",
"commands": [
"fsdocs"
]
],
"rollForward": false
}
}
}
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,19 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup .NET for main project build
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
6.0.x
8.0.x
- name: Run fake build script
run: ./build.sh
shell: bash
- name: Save nuget package as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nuget-package
path: |
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

Expand Down
560 changes: 560 additions & 0 deletions .paket/Paket.Restore.targets

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@

dotnet tool restore
dotnet restore
if not "%*"=="" (
dotnet fake run build.fsx --parallel 3 --target %*
) else (
dotnet fake run build.fsx --parallel 3
)
dotnet run -v:m --project ./build/build.fsproj -- -t %*
276 changes: 0 additions & 276 deletions build.fsx

This file was deleted.

9 changes: 4 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash

set -eu
set -o pipefail

dotnet tool restore
dotnet restore
if [[ $# -eq 0 ]] ; then
dotnet fake run build.fsx --parallel 3
else
dotnet fake run build.fsx --parallel 3 --target $@
fi
dotnet run -v:m --project ./build/build.fsproj -- -t "$@"
Loading

0 comments on commit 33455b3

Please sign in to comment.