-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into frontend
To bring the build/CI improvements.
- Loading branch information
Showing
12 changed files
with
116 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {} | ||
macOS--mono: | ||
macOS--mono-only: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -64,7 +64,30 @@ jobs: | |
- name: integration tests | ||
run: make update-servers | ||
|
||
windows--dotnet6: | ||
macOS--dotnet6-only: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
submodules: false | ||
- name: HACK to emulate mono uninstall | ||
run: sudo rm -f `which mono` && sudo rm -f `which msbuild` | ||
- name: configure | ||
run: ./configure.sh | ||
- name: build in DEBUG mode | ||
run: make | ||
- name: sanity check | ||
run: make sanitycheck | ||
- name: unit tests | ||
run: make check | ||
- name: build in STRICT mode | ||
run: git clean -fdx && ./configure.sh && make strict | ||
- name: build in RELEASE mode | ||
run: git clean -fdx && ./configure.sh && make release | ||
- name: integration tests | ||
run: make update-servers | ||
|
||
windows--dotnet6-and-legacyFramework: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -98,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 | ||
|
@@ -121,7 +144,43 @@ jobs: | |
- name: integration tests | ||
run: .\make update-servers | ||
|
||
linux22-github: | ||
windows--dotnet6-only: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
submodules: false | ||
- name: Setup .NET SDK 6.0.x | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.113' | ||
- name: HACK to emulate legacy .NETFramework uninstall | ||
run: del $(& "${Env: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--dotnet-and-mono: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -146,7 +205,7 @@ jobs: | |
- name: integration tests | ||
run: make update-servers | ||
|
||
linux22-github--newmono: | ||
linux22-github--dotnet-and-newmono: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -176,7 +235,7 @@ jobs: | |
- name: integration tests | ||
run: make update-servers | ||
|
||
linux22-vanilla--stockmono: | ||
linux22-vanilla--stockmono-only: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: "ubuntu:22.04" | ||
|
@@ -212,7 +271,7 @@ jobs: | |
- name: integration tests | ||
run: make update-servers | ||
|
||
linux22-vanilla--stockdotnet6: | ||
linux22-vanilla--stockdotnet6-only: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: "ubuntu:22.04" | ||
|
@@ -340,7 +399,7 @@ jobs: | |
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {} | ||
linux22-vanilla--newmono: | ||
linux22-vanilla--newmono-only: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: "ubuntu:22.04" | ||
|
@@ -382,7 +441,7 @@ jobs: | |
run: make update-servers | ||
|
||
|
||
linux20-github: | ||
linux20-github--dotnet-and-mono: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -407,7 +466,7 @@ jobs: | |
- name: integration tests | ||
run: make update-servers | ||
|
||
linux20-github--newmono: | ||
linux20-github--dotnet-and-newmono: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
@@ -435,7 +494,7 @@ jobs: | |
- name: integration tests | ||
run: make update-servers | ||
|
||
linux20-vanilla--stockmono: | ||
linux20-vanilla--stockmono-only: | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: "ubuntu:20.04" | ||
|
@@ -471,7 +530,7 @@ jobs: | |
- name: integration tests | ||
run: make update-servers | ||
|
||
linux20-vanilla--newmono: | ||
linux20-vanilla--newmono-only: | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: "ubuntu:20.04" | ||
|
@@ -517,21 +576,23 @@ jobs: | |
container: | ||
image: "ubuntu:22.04" | ||
needs: | ||
- linux22-github | ||
- linux22-github--newmono | ||
- linux22-vanilla--stockmono | ||
- linux22-vanilla--newmono | ||
- linux22-vanilla--stockdotnet6 | ||
- linux22-github--dotnet-and-mono | ||
- linux22-github--dotnet-and-newmono | ||
- linux22-vanilla--stockmono-only | ||
- linux22-vanilla--newmono-only | ||
- linux22-vanilla--stockdotnet6-only | ||
- linux22-vanilla--stockdotnet6-and-stockmono | ||
- linux22-vanilla--stockdotnet6-and-newmono | ||
- linux20-github | ||
- linux20-github--newmono | ||
- linux20-vanilla--stockmono | ||
- linux20-vanilla--newmono | ||
- windows--dotnet6 | ||
- windows--legacyFramework | ||
- linux20-github--dotnet-and-mono | ||
- linux20-github--dotnet-and-newmono | ||
- linux20-vanilla--stockmono-only | ||
- linux20-vanilla--newmono-only | ||
- windows--dotnet6-and-legacyFramework | ||
- windows--legacyFramework-only | ||
- windows--dotnet6-only | ||
- macOS--dotnet6-and-mono | ||
- macOS--mono | ||
- macOS--mono-only | ||
- macOS--dotnet6-only | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule fsx
updated
30 files
+36 −62 | .github/workflows/CI.yml | |
+3 −0 | .gitignore | |
+1 −1 | Fsdk.Tests/AsyncExtensions.fs | |
+5 −0 | Fsdk/Fsdk.fsproj | |
+182 −28 | Fsdk/Misc.fs | |
+140 −88 | Fsdk/Network.fs | |
+6 −5 | Fsdk/Process.fs | |
+40 −34 | Fsdk/Unix.fs | |
+1 −2 | ReadMe.md | |
+57 −0 | Tools/clean.fsx | |
+0 −300 | Tools/gitPush1by1.fsx | |
+3 −1 | Tools/nugetPush.fsx | |
+190 −0 | Tools/rename.fsx | |
+2 −31 | Tools/replace.fsx | |
+5 −0 | fsx-legacy.sln | |
+5 −0 | fsx.sln | |
+17 −58 | fsx/Program.fs | |
+79 −0 | fsx/fsx-legacy.fsproj | |
+60 −0 | fsx/fsx.fsproj | |
+948 −0 | fsxc/Fsxc.fs | |
+4 −955 | fsxc/Program.fs | |
+1 −0 | fsxc/fsxc-legacy.fsproj | |
+1 −0 | fsxc/fsxc.fsproj | |
+2 −2 | scripts/fsx-legacy.bat | |
+2 −2 | scripts/fsx.bat | |
+35 −3 | scripts/make.fsx | |
+170 −0 | scripts/publish.fsx | |
+17 −1 | scripts/runTests.fsx | |
+3 −1 | test/testProcess.fsx | |
+13 −0 | test/testRefNugetLibNewFormatWithShortVersion.fsx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters