From 4b501e0acbeaf1599c53dcb31cf5d3c87c490cd3 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Sat, 12 Aug 2023 13:02:49 +0800 Subject: [PATCH] WIP1 --- .github/workflows/CI.yml | 41 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index abc155094..002e0856c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -121,7 +121,7 @@ jobs: find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {} - windows--legacyFramework: + windows--legacyFramework-only: runs-on: windows-2019 steps: - uses: actions/checkout@v1 @@ -144,6 +144,42 @@ jobs: - name: integration tests run: .\make update-servers + windows--dotnet6-only: + runs-on: windows-latest + steps: + - uses: actions/checkout@v1 + with: + submodules: false + - name: Setup .NET SDK 6.0.x + uses: actions/setup-dotnet@v1.7.2 + with: + dotnet-version: '6.0.113' + - name: HACK to emulate legacy .NETFramework uninstall + run: del $("%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -find MSBuild\\**\\Bin\\MSBuild.exe) + - name: configure + run: .\configure.bat + - name: build in DEBUG mode + run: .\make.bat + - name: sanity check + run: .\make.bat sanitycheck + - name: unit tests + run: .\make.bat check + - name: re-build in STRICT mode + run: git clean -fdx && .\configure.bat && .\make.bat strict + - name: re-build in RELEASE mode + run: git clean -fdx && .\configure.bat && .\make.bat release + - name: integration tests + run: .\make update-servers + - name: compile .fsx scripts + shell: bash + run: | + dotnet new tool-manifest + + # we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037 + dotnet tool install fsxc --version 0.5.9.1 + + find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {} + linux22-github: runs-on: ubuntu-22.04 steps: @@ -540,7 +576,8 @@ jobs: - linux20-vanilla--stockmono - linux20-vanilla--newmono - windows--dotnet6 - - windows--legacyFramework + - windows--legacyFramework-only + - windows--dotnet6-only - macOS--dotnet6-and-mono - macOS--mono-only - macOS--dotnet-only