Repository navigation
42 lines (42 loc) · 2.22 KB
/
Copy pathcheck.yml
File metadata and controls
42 lines (42 loc) · 2.22 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
name: Shared Git desktop views
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Native accessibility prerequisites
run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev cmake ninja-build xvfb at-spi2-core dbus-daemon clang llvm libsecret-1-dev pkg-config libcurl4-openssl-dev libssl-dev libexpat1-dev zlib1g-dev openssh-server
- run: python3 tool/checkout_shared_dependencies.py
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.47.5'
channel: stable
cache: true
- run: flutter pub get --enforce-lockfile
- run: dart format --set-exit-if-changed .
- run: python3 tool/test_consumer_consistency.py
- run: dart run tool/test_native_presentation_audit.dart
- run: dart run tool/check_native_presentation.dart
- run: flutter analyze
- name: Controlled Git and supervisor for real-index tests
run: |
python3 ../busystack_git/tool/build_runtime.py --build-dir "$PWD/build/git-native"
printf 'BUSYSTACK_GIT_EXECUTABLE=%s/build/git-native/git-runtime/bin/git\n' "$PWD" >> "$GITHUB_ENV"
printf 'BUSYSTACK_TEST_GIT=%s/build/git-native/git-runtime/bin/git\n' "$PWD" >> "$GITHUB_ENV"
printf 'BUSYSTACK_TEST_GIT_256=%s/build/git-native/git-runtime/bin/git\n' "$PWD" >> "$GITHUB_ENV"
printf 'BUSYSTACK_GIT_HELPER_PATH=%s/build/git-native/busystack-git-helper\n' "$PWD" >> "$GITHUB_ENV"
- run: flutter test --concurrency=1
- name: Native GTK accessibility
run: |
cmake -S linux/native -B build/native -G Ninja
cmake --build build/native
dbus-run-session -- xvfb-run -a ctest --test-dir build/native --output-on-failure
- name: Native Clang release with LTO
run: |
export CC=clang CXX=clang++
export CXXFLAGS="$(dpkg-buildflags --get CXXFLAGS) -flto=thin"
export LDFLAGS="$(dpkg-buildflags --get LDFLAGS) -flto=thin"
cmake -S linux/native -B build/native-lto -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build/native-lto
dbus-run-session -- xvfb-run -a ctest --test-dir build/native-lto --output-on-failure