Skip to content

Commit b444b81

Browse files
committed
Merge branch 'master' of github.com:go-flutter-desktop/engine-builds
2 parents 13e595a + b1df0a9 commit b444b81

File tree

3 files changed

+61
-67
lines changed

3 files changed

+61
-67
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@ name: Flutter Engine
44
on:
55
schedule:
66
- cron: 24 0/12 * * *
7-
push:
8-
branches:
9-
- master
10-
pull_request:
117
workflow_dispatch:
128

139
jobs:
1410
build:
1511
strategy:
1612
fail-fast: false
1713
matrix:
18-
channel: [beta, dev, master] #, stable
14+
channel: [stable, beta] # master
1915
config:
2016
# Debug builds not needed: fetched from Google
2117

@@ -29,7 +25,7 @@ jobs:
2925
host_tag: macosx_x64
3026
- tag: host_profile
3127
gn: --embedder-for-target --runtime-mode profile --lto
32-
host: windows-latest
28+
host: windows-2019
3329
host_tag: windows_x64
3430

3531
- tag: host_release
@@ -42,7 +38,7 @@ jobs:
4238
host_tag: macosx_x64
4339
- tag: host_release
4440
gn: --embedder-for-target --runtime-mode release --lto --stripped
45-
host: windows-latest
41+
host: windows-2019
4642
host_tag: windows_x64
4743

4844
runs-on: ${{ matrix.config.host }}
@@ -64,7 +60,7 @@ jobs:
6460
sudo df -h
6561
6662
- name: Install curl (windows)
67-
if: matrix.config.host == 'windows-latest'
63+
if: matrix.config.host == 'windows-2019'
6864
run: choco install curl
6965

7066
- name: Get engine version
@@ -105,18 +101,18 @@ jobs:
105101
shell: bash
106102

107103
- name: Checkout
108-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-latest'
104+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-2019'
109105
uses: actions/checkout@v1
110106

111107
- name: Checkout (windows)
112-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
108+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
113109
run: git clone https://github.com/jslater89/flutter-rs-engine-builds.git C:\repo
114110

115-
- name: Install Python 2.x
111+
- name: Install Python 3.x
116112
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'macos-latest'
117-
uses: actions/setup-python@v1
113+
uses: actions/setup-python@v2
118114
with:
119-
python-version: '2.x'
115+
python-version: '3.x'
120116

121117
- name: Install dependencies (ubuntu)
122118
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'ubuntu-latest'
@@ -127,98 +123,98 @@ jobs:
127123
run: brew install binutils gpatch tree
128124

129125
- name: Install dependencies (windows)
130-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
126+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
131127
run: choco install patch tree zip
132128

133129
- name: Install depot tools
134-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-latest'
130+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-2019'
135131
run: ./fetch-depot-tools.sh
136132
shell: bash
137133

138134
- name: Install depot tools (windows)
139-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
135+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
140136
working-directory: C:\repo
141137
run: ./fetch-depot-tools.sh
142138
shell: bash
143139

144140
- name: Download engine (windows)
145-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
141+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
146142
working-directory: C:\repo
147143
run: ./fetch-engine.bat ${{ steps.get_engine_version.outputs.engine_version }}
148144

149145
- name: Download engine (macos + ubuntu)
150-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-latest'
146+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-2019'
151147
run: ./fetch-engine.sh ${{ steps.get_engine_version.outputs.engine_version }}
152148
shell: bash
153149

154150
- name: Patch
155-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-latest'
151+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-2019'
156152
run: ./patch-engine.sh
157153
shell: bash
158154

159155
- name: Patch (windows)
160-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
156+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
161157
working-directory: C:\repo
162158
run: ./patch-engine.sh
163159
shell: bash
164160

165161
- name: Generate config
166-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-latest'
162+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-2019'
167163
run: ./gn.sh ${{ matrix.config.gn }}
168164
shell: bash
169165

170166
- name: Generate config (windows)
171-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
167+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
172168
working-directory: C:\repo
173169
run: ./gn.sh ${{ matrix.config.gn }}
174170
shell: bash
175171

176172
- name: Build
177-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-latest'
173+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-2019'
178174
run: ./build.sh ${{ matrix.config.tag }}
179175
shell: bash
180176

181177
- name: Build (windows)
182-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
178+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
183179
working-directory: C:\repo
184180
run: ./build.sh ${{ matrix.config.tag }}
185181
shell: bash
186182

187183
- name: Print out tree
188-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-latest'
184+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-2019'
189185
run: tree ./engine/src/out/
190186
shell: bash
191187

192188
- name: Print out tree (windows)
193-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
189+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
194190
working-directory: C:\repo
195191
run: tree ./engine/src/out/
196192
shell: bash
197193

198194
- name: Print release tree
199-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-latest'
195+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-2019'
200196
run: tree ./engine_out/
201197
shell: bash
202198

203199
- name: Print release tree (windows)
204-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
200+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
205201
working-directory: C:\repo
206202
run: tree ./engine_out/
207203
shell: bash
208204

209205
- name: Create release zip
210-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-latest'
206+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host != 'windows-2019'
211207
run: cd engine_out && zip -qq -r ../${{ matrix.config.host_tag }}-${{ matrix.config.tag }}.zip ./*
212208
shell: bash
213209

214210
- name: Create release zip (windows)
215-
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-latest'
211+
if: steps.release_check.outputs.skip_build != 'true' && matrix.config.host == 'windows-2019'
216212
working-directory: C:\repo
217213
run: cd engine_out && zip -qq -r ../${{ matrix.config.host_tag }}-${{ matrix.config.tag }}.zip ./*
218214
shell: bash
219215

220216
- name: Upload release asset
221-
if: steps.release_check.outputs.skip_build != 'true' && github.event_name != 'pull_request' && matrix.config.host != 'windows-latest'
217+
if: steps.release_check.outputs.skip_build != 'true' && github.event_name != 'pull_request' && matrix.config.host != 'windows-2019'
222218
uses: softprops/action-gh-release@master
223219
env:
224220
GITHUB_TOKEN: ${{ secrets.PERMANENT_GITHUB_TOKEN }}
@@ -228,7 +224,7 @@ jobs:
228224
files: ${{ matrix.config.host_tag }}-${{ matrix.config.tag }}.zip
229225

230226
- name: Upload release asset (windows)
231-
if: steps.release_check.outputs.skip_build != 'true' && github.event_name != 'pull_request' && matrix.config.host == 'windows-latest'
227+
if: steps.release_check.outputs.skip_build != 'true' && github.event_name != 'pull_request' && matrix.config.host == 'windows-2019'
232228
uses: softprops/action-gh-release@master
233229
env:
234230
GITHUB_TOKEN: ${{ secrets.PERMANENT_GITHUB_TOKEN }}

.github/workflows/ticker.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Ticker
4+
5+
# Controls when the workflow will run
6+
on:
7+
schedule:
8+
- cron: 24 0/12 13 * *
9+
10+
# Allows you to run this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Run a multi-line script
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.PERMANENT_GITHUB_TOKEN }}
26+
run: |
27+
git config user.email "[email protected]"
28+
git config user.name "Engine Builder"
29+
git commit --allow-empty -m "Engine build tick"
30+
git push https://[email protected]/go-flutter-desktop/engine-builds.git master:master

README.md

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,4 @@
1-
# engine-builds
2-
Flutter engine builds for the stable, beta and dev channels in debug, profile and release modes.
3-
4-
## Supported platforms
5-
- x86_64-unknown-linux-gnu
6-
- x86_64-apple-darwin
7-
- x86_64-pc-windows-msvc
8-
- armv7-linux-androideabi
9-
- aarch64-linux-android
10-
- i686-linux-android
11-
- x86_64-linux-android
12-
- armv7-apple-ios
13-
- aarch64-apple-ios
14-
15-
Builds are disabled for some platforms temporarily.
16-
17-
# License
18-
Copyright 2020 flutter-rs
1+
[![Flutter Engine](https://github.com/go-flutter-desktop/engine-builds/actions/workflows/ci.yml/badge.svg)](https://github.com/go-flutter-desktop/engine-builds/actions/workflows/ci.yml)
192

20-
Permission is hereby granted, free of charge, to any person obtaining a copy of
21-
this software and associated documentation files (the "Software"), to deal in
22-
the Software without restriction, including without limitation the rights to
23-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
24-
of the Software, and to permit persons to whom the Software is furnished to do
25-
so, subject to the following conditions:
26-
27-
The above copyright notice and this permission notice shall be included in all
28-
copies or substantial portions of the Software.
29-
30-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36-
SOFTWARE.
3+
# engine-builds
4+
Flutter engine builds for the beta, dev, and master channels in profile and release modes, used by the go-flutter-desktop project and the hover tool.

0 commit comments

Comments
 (0)