builds: Remove workaround for building linux arm64

This commit is contained in:
Krille 2023-05-31 08:03:23 +02:00
parent 06e6e9c5b1
commit 518739e29f
No known key found for this signature in database

View File

@ -299,16 +299,7 @@ build_linux_x86:
build_linux_arm64:
stage: build
before_script:
# Workaround from https://github.com/flutter/flutter/issues/116703#issuecomment-1403956612
- rm -rf workaround116703
- mkdir workaround116703
- cd workaround116703
- curl -O https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${FLUTTER_VERSION}-stable.tar.xz
- tar -xvf flutter_linux_${FLUTTER_VERSION}-stable.tar.xz flutter/bin/cache/artifacts/engine/linux-x64/shader_lib
- mkdir -p /opt/flutter/bin/cache/artifacts/engine/linux-arm64
- cp -R flutter/bin/cache/artifacts/engine/linux-x64/shader_lib /opt/flutter/bin/cache/artifacts/engine/linux-arm64
- rm -rf flutter flutter_linux_${FLUTTER_VERSION}-stable.tar.xz
- cd ..
- flutter upgrade $FLUTTER_VERSION --force
script: [flutter build linux --release]
tags: [docker_arm64]
only: