forked from fsprojects/FAKE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support .net6 runtime assemblies, new Build system, and Legacy Fake C…
…odebase Separation (fsprojects#2609) * .net6 runtime assemblies in Fake runner, using GitHub actions, and separation of legacy codebase. * naming convention changes * disabiling stale bot
- Loading branch information
1 parent
d892aea
commit 5ccec2b
Showing
99 changed files
with
6,746 additions
and
3,771 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: FAKE Build and Test | ||
|
||
on: | ||
push: | ||
branches: [ release/next ] | ||
pull_request: | ||
branches: [ release/next ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NETCORE 3.1 | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '3.1.201' | ||
- name: Setup .NET 6 | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.100-preview.3.21202.5' | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ matrix.os }}-nuget-${{ hashFiles('**/paket.lock') }} | ||
restore-keys: | | ||
${{ matrix.os }}-nuget | ||
- name: Restore dotnet tools | ||
run: dotnet tool restore | ||
- name: remove current fake runner tool | ||
run: dotnet tool uninstall fake-cli | ||
- name: Build fake runner | ||
run: dotnet pack --version-suffix 1 src/app/fake-cli/fake-cli.fsproj | ||
- name: add fake runner as a tool | ||
run: dotnet tool install fake-cli --add-source "./src/app/fake-cli/bin/Debug" --version 1.0.0-1 | ||
- name: Build | ||
run: dotnet fake build --parallel 3 |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: FAKE Prepare Release | ||
|
||
# this workflow will build the project, run tests for final check, and prepare artifacts for a release. The intention is to run it on push on master | ||
|
||
on: | ||
push: | ||
branches: [ release/next ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NETCORE 3.1 | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '3.1.x' | ||
- name: Setup .NET 6 | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.100-preview.3.21202.5' | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.nuget/packages | ||
key: windows-latest-nuget-${{ hashFiles('**/paket.lock') }} | ||
restore-keys: | | ||
windows-latest-nuget | ||
- name: Restore dotnet tools | ||
run: dotnet tool restore | ||
- name: remove current fake runner tool | ||
run: dotnet tool uninstall fake-cli | ||
- name: Build fake runner | ||
run: dotnet pack --version-suffix 1 src/app/fake-cli/fake-cli.fsproj | ||
- name: add fake runner as a tool | ||
run: dotnet tool install fake-cli --add-source "./src/app/fake-cli/bin/Debug" --version 1.0.0-1 | ||
- name: Build | ||
run: dotnet fake build -t Release_BuildAndTest --parallel 3 | ||
- name: publish build artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: fake-artifacts | ||
path: release/artifacts |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.