Skip to content

Commit

Permalink
[ci] Do not disable compile options (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-kim authored May 2, 2022
1 parent 5e30b8a commit 45e7e13
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
mode: [debug, release, profile]
include:
- arch: arm
triple: armv7l-tizen-linux-gnueabi
triple: arm-linux-gnueabi
- arch: arm64
triple: aarch64-tizen-linux-gnu
triple: aarch64-linux-gnu
- arch: x86
triple: i586-tizen-linux-gnueabi
triple: i686-linux-gnu
exclude:
- arch: x86
mode: release
Expand Down Expand Up @@ -64,12 +64,6 @@ jobs:
run: |
src/flutter/ci/tizen/cache-checksum.sh restore src/out/$OUTPUT_NAME
# FIXME: Disable compile options unsupported by the Tizen toolchain.
sed -i 's/"-Wno-non-c-typedef-for-linkage",//g' src/build/config/compiler/BUILD.gn
sed -i 's/"-Wno-psabi",//g' src/build/config/compiler/BUILD.gn
sed -i 's/"-Wno-unused-but-set-parameter",//g' src/build/config/compiler/BUILD.gn
sed -i 's/"-Wno-unused-but-set-variable",//g' src/build/config/compiler/BUILD.gn
src/flutter/tools/gn \
--target-os linux --linux-cpu ${{ matrix.arch }} \
--no-goma \
Expand Down
20 changes: 8 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,31 @@ jobs:
tizen-arm-release:
arch: arm
mode: release
targetTriple: armv7l-tizen-linux-gnueabi
targetTriple: arm-linux-gnueabi
tizen-arm-profile:
arch: arm
mode: profile
targetTriple: armv7l-tizen-linux-gnueabi
targetTriple: arm-linux-gnueabi
tizen-arm-debug:
arch: arm
mode: debug
targetTriple: armv7l-tizen-linux-gnueabi
targetTriple: arm-linux-gnueabi
tizen-arm64-release:
arch: arm64
mode: release
targetTriple: aarch64-tizen-linux-gnu
targetTriple: aarch64-linux-gnu
tizen-arm64-profile:
arch: arm64
mode: profile
targetTriple: aarch64-tizen-linux-gnu
targetTriple: aarch64-linux-gnu
tizen-arm64-debug:
arch: arm64
mode: debug
targetTriple: aarch64-tizen-linux-gnu
targetTriple: aarch64-linux-gnu
tizen-x86-debug:
arch: x86
mode: debug
targetTriple: i586-tizen-linux-gnueabi
targetTriple: i686-linux-gnu
pool:
name: Default
demands: agent.os -equals Linux
Expand All @@ -49,11 +49,7 @@ jobs:
path: src/flutter
- bash: |
gclient sync -f -D
sed -i 's/"-Wno-non-c-typedef-for-linkage",//g' build/config/compiler/BUILD.gn
sed -i 's/"-Wno-psabi",//g' build/config/compiler/BUILD.gn
sed -i 's/"-Wno-unused-but-set-parameter",//g' build/config/compiler/BUILD.gn
sed -i 's/"-Wno-unused-but-set-variable",//g' build/config/compiler/BUILD.gn
displayName: Disable build flags
displayName: Run gclient sync
workingDirectory: $(Pipeline.Workspace)/src
- bash: |
flutter/tools/gn \
Expand Down

0 comments on commit 45e7e13

Please sign in to comment.