Skip to content

Run CI matrix with Windows and Linux runners (#4053) #1122

Run CI matrix with Windows and Linux runners (#4053)

Run CI matrix with Windows and Linux runners (#4053) #1122

Workflow file for this run

name: ci
on:
push:
branches: ["0.4.x"]
pull_request:
branches: ["0.4.x"]
# See https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
- name: Publish
uses: ./.github/actions/publish
- name: Run Tests
uses: ./.github/actions/test
- name: Install Templates
run: dotnet new install src/IceRpc.Templates/bin/Debug/IceRpc.Templates.*.nupkg
shell: bash
- name: Test Templates
uses: ./.github/actions/test-templates
- name: Build Examples
uses: ./.github/actions/build-examples
- name: Build DocFX Examples
run: dotnet build docfx/examples/Examples.sln
shell: bash