-
Notifications
You must be signed in to change notification settings - Fork 0
79 lines (74 loc) · 2.8 KB
/
Copy pathvalidation.yml
File metadata and controls
79 lines (74 loc) · 2.8 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
67
68
69
70
71
72
73
74
75
76
77
78
79
name: validation
on:
push:
branches:
- main
pull_request:
jobs:
core-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: "3.12"
- name: Schema check
run: PYTHONDONTWRITEBYTECODE=1 python3 tooling/schema_check/check_schemas.py
- name: Conformance check
run: PYTHONDONTWRITEBYTECODE=1 python3 tooling/conformance_tests/run_conformance_skeleton.py
- name: Release smoke
run: PYTHONDONTWRITEBYTECODE=1 python3 tooling/release_smoke.py
- name: Packaging portability
run: PYTHONDONTWRITEBYTECODE=1 python3 tooling/packaging_portability_check.py
- name: Development validation
run: PYTHONDONTWRITEBYTECODE=1 python3 tooling/validate_all.py --python-only
rust-helper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
- name: Cargo test
working-directory: native/rust_helper
run: cargo test
desktop-flutter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2
with:
flutter-version: "3.22.3"
channel: stable
cache: true
- name: Install Linux desktop dependencies
run: sudo apt-get update && sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev
- name: Flutter analyze
working-directory: apps/desktop_flutter
run: flutter analyze
- name: Dart format
run: dart format --output=none --set-exit-if-changed apps/desktop_flutter
- name: Flutter test
working-directory: apps/desktop_flutter
run: flutter test
- name: Flutter Linux build smoke
working-directory: apps/desktop_flutter
run: flutter build linux
windows-build-smoke:
runs-on: windows-2022
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2
with:
flutter-version: "3.22.3"
channel: stable
cache: true
- name: Flutter analyze
working-directory: apps/desktop_flutter
run: flutter analyze
- name: Dart format
run: dart format --output=none --set-exit-if-changed apps/desktop_flutter
- name: Flutter test
working-directory: apps/desktop_flutter
run: flutter test
- name: Flutter Windows build
working-directory: apps/desktop_flutter
run: flutter build windows