Create Linux sln and update packages #93
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
name: CI | |
on: [push] | |
jobs: | |
build-windows: | |
name: CI (Windows) | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.400' | |
- name: Restore | |
run: | | |
dotnet tool restore | |
dotnet paket restore | |
- name: Build | |
run: dotnet fake build | |
- name: Pack | |
run: | | |
dotnet fake build -t PackAll | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: interstellar-windows | |
path: artifacts | |
- name: Test | |
run: | | |
dotnet fake build -t Test -- Release | |
build-macos: | |
name: CI (macOS) | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.400' | |
- name: Install workloads | |
run: | | |
dotnet tool restore | |
sudo dotnet workload install macos | |
- name: Restore | |
run: | | |
dotnet tool restore | |
dotnet paket restore | |
- name: Build | |
run: dotnet fake build -- Release | |
- name: Pack | |
run: dotnet fake build -t PackAll -- Release | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: interstellar-macos | |
path: artifacts/ | |
- name: Test | |
run: | | |
dotnet fake build -t Test -- Release |