-
Notifications
You must be signed in to change notification settings - Fork 48
66 lines (58 loc) · 1.54 KB
/
Copy pathrun-build-and-unit-tests.yml
File metadata and controls
66 lines (58 loc) · 1.54 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# SPDX-FileCopyrightText: 2025-2026 Cesium contributors <https://github.com/ForNeVeR/Cesium>
#
# SPDX-License-Identifier: MIT
name: Run Build and Unit tests
on:
push:
branches:
- main
- renovate/**
pull_request:
branches: [ main ]
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
main:
runs-on: ${{ matrix.environment.image }}
name: check.${{ matrix.environment.name }}
strategy:
matrix:
environment:
- image: macos-26
name: macos
- image: ubuntu-24.04
name: linux
- image: windows-2025
name: windows
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@v7
- name: 💡 Perform Common Steps 💡
uses: ./.github/workflows/perform-common-steps
- name: 🛠 Build Solution 🛠
shell: bash
run: dotnet nuke CompileAll
- name: ✅ Run Unit Tests ✅
shell: bash
run: dotnet nuke TestAll
encoding:
runs-on: ubuntu-latest
steps:
- name: 📝 Fetch Sources 📝
uses: actions/checkout@v7
- name: ✅ Verify encoding ✅
shell: pwsh
run: scripts/Test-Encoding.ps1
licenses:
runs-on: ubuntu-latest
steps:
- name: 📝 Fetch Sources 📝
uses: actions/checkout@v7
- name: ✅ REUSE license check ✅
uses: fsfe/reuse-action@v6