Skip to content

Commit

Permalink
fresh pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jones committed Nov 17, 2024
1 parent 1ab0d7b commit 4697348
Showing 1 changed file with 27 additions and 10 deletions.
37 changes: 27 additions & 10 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.0

- name: Prepare python env for sphynx
run: |
Expand All @@ -39,25 +39,42 @@ jobs:
with:
channel: stable
version: 3.24.5
# Note: This workflow uses the latest stable version of the Dart SDK.
# You can specify other versions if desired, see documentation here:
# https://github.com/dart-lang/setup-dart/blob/main/README.md
# - uses: dart-lang/setup-dart@v1
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603

- name: Install dependencies
run: dart pub get
run: |
git submodule update --init --recursive
flutter pub get
cd external/jotrockenmitlockenrepo
flutter pub get
# Uncomment this step to verify the use of 'dart format' on each commit.
# - name: Verify formatting
# run: dart format --output=none --set-exit-if-changed .
- name: Verify formatting
continue-on-error: true
run: dart format --output=none --set-exit-if-changed .

# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
continue-on-error: true
run: dart analyze

# Your project will need to have tests in test/ and a dependency on
# package:test for this step to succeed. Note that Flutter projects will
# want to change this to 'flutter test'.
- name: Run tests
run: dart test
run: |
flutter test
- name: Enable Flutter Linux Desktop
run: |
flutter config --enable-linux-desktop
# Build Linux Desktop App for Production (Main Branch)
- name: "Build Linux Desktop App"
run: |
flutter build linux --release
# Build Linux Desktop App (Dev Branch) with a fallback
- name: "Build Linux Desktop App"
continue-on-error: true
run: |
flutter build linux --release

0 comments on commit 4697348

Please sign in to comment.