This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
chore(deps): update dependency yaru_window to ^0.2.0 #1209
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: WSL | |
on: | |
push: | |
branches: | |
- main | |
- 'ubuntu/**' | |
- 'canary-*' | |
pull_request: | |
workflow_dispatch: | |
env: | |
FLUTTER_VERSION: '3.10.x' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
flutter-version: ${{env.FLUTTER_VERSION}} | |
- name: Build Windows Target | |
working-directory: packages\ubuntu_wsl_setup\ | |
run: | | |
flutter pub get | |
flutter build windows -t .\lib\main_win.dart | |
integration: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y clang cmake curl libgtk-3-dev ninja-build pkg-config unzip xvfb | |
make install_deps | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
flutter-version: ${{env.FLUTTER_VERSION}} | |
- name: Flutter Doctor | |
run: flutter doctor -v | |
- name: Prepare environment | |
run: | | |
sudo loginctl enable-linger $USER | |
sudo systemctl start user@$UID.service | |
echo "XDG_RUNTIME_DIR=/run/user/$UID" >> $GITHUB_ENV | |
- name: Run tests | |
run: | | |
xvfb-run -a -s '-screen 0 1024x768x24 +extension GLX' \ | |
flutter test integration_test | |
working-directory: packages/ubuntu_wsl_setup | |
env: | |
SUBIQUITY_REPLAY_TIMESCALE: 100 |