Fix path to CI build #1
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: Run Build and Package | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
main: | |
runs-on: ${{ matrix.environment }} | |
strategy: | |
matrix: | |
environment: | |
- ubuntu-latest | |
fail-fast: false | |
env: | |
DOTNET_NOLOGO: 1 | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages | |
steps: | |
- name: π Fetch Sources π | |
uses: actions/checkout@v2 | |
- name: π Build Sdk π | |
shell: bash | |
run: dotnet build -c Release src/sdk/FStarLang.Sdk.csproj | |
- name: π Build Runtime win-x64 π | |
shell: bash | |
run: dotnet build -r win-x64 -c Release src/runtime/FStarLang.Runtime.csproj | |
- name: π Build Runtime linux-x64 π | |
shell: bash | |
run: dotnet build -r linux-x64 -c Release src/runtime/FStarLang.Runtime.csproj | |
- name: π Pack ProjectTemplates π | |
shell: bash | |
run: dotnet pack -c Release src/templates/FStarLang.DotNet.Common.ProjectTemplates.1.0.csproj |