Skip to content

Commit 5712a8f

Browse files
committed
ci: pr, win7
1 parent cd1b021 commit 5712a8f

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

.github/workflows/build.yml

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
name: Build
22
on:
33
push:
4+
paths-ignore:
5+
- '.editorconfig'
6+
- '.github/ISSUE_TEMPLATE/**'
7+
- '.github/PULL_REQUEST_TEMPLATE'
8+
- '.gitignore'
9+
- '*.md'
10+
pull_request:
11+
paths-ignore:
12+
- '.editorconfig'
13+
- '.github/ISSUE_TEMPLATE/**'
14+
- '.github/PULL_REQUEST_TEMPLATE'
15+
- '.gitignore'
16+
- '*.md'
417
schedule:
518
- cron: '0 6 * * 0'
619

@@ -69,26 +82,31 @@ jobs:
6982
strategy:
7083
fail-fast: false
7184
matrix:
85+
version: ['3.19.x', 'any'] # 3.19 for win7
7286
channel: ['stable', 'master']
87+
exclude:
88+
- version: '3.19.x'
89+
channel: 'master'
7390
steps:
7491
- uses: actions/checkout@v4
7592
with:
7693
submodules: 'recursive'
7794
- uses: subosito/flutter-action@v2
7895
with:
96+
flutter-version: ${{ matrix.version }}
7997
channel: ${{ matrix.channel }}
8098
cache: true
8199
- run: flutter doctor --verbose
82100
- run: flutter pub get
83101
- run: flutter build windows --verbose
84102
- run: mv build/windows/x64/runner/Release .
85-
- run: cmake -E tar cvf fvp_example_windows-${{ matrix.channel }}.7z --format=7zip Release
103+
- run: cmake -E tar cvf fvp_example_windows-flutter-${{ matrix.version }}-${{ matrix.channel }}.7z --format=7zip Release
86104
- name: Upload
87105
uses: actions/upload-artifact@v4
88106
with:
89-
name: fvp-example-windows-${{ matrix.channel }}
107+
name: fvp-example-windows-flutter-${{ matrix.version }}-${{ matrix.channel }}
90108
path: |
91-
example/fvp_example_windows-${{ matrix.channel }}.7z
109+
example/fvp_example_windows-flutter-${{ matrix.version }}-${{ matrix.channel }}.7z
92110
example/build/windows/CMakeFiles/CMakeConfigureLog.yaml
93111
94112
Linux:

0 commit comments

Comments
 (0)