-
Notifications
You must be signed in to change notification settings - Fork 13
40 lines (37 loc) · 1.08 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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