Update docker.yml for Azure Pipelines #344
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: default | |
on: | |
push: | |
branches: | |
- "main" | |
- "dev" | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: | |
- "dev" | |
jobs: | |
mac-build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: dotnet info | |
run: dotnet --info | |
- name: build | |
run: bash build.sh --target=build | |
linux-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: dotnet info | |
run: dotnet --info | |
- name: build | |
run: bash build.sh --target=build | |
windows-build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: dotnet info | |
run: dotnet --info | |
- name: build | |
shell: pwsh | |
run: .\build.ps1 |