Skip to content

Add missing clang_x64 folder #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 13 additions & 20 deletions .github/workflows/flutter-engine-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
linux-arm64:
runs-on: [self-hosted, linux, x64]
env:
arch: arm64
arch: arm64
linux_cpu: arm64
target_triple: aarch64-unknown-linux-gnu
target_sysroot: debian_sid_arm64-sysroot
Expand Down Expand Up @@ -90,15 +90,16 @@ jobs:
with:
name: engine-sdk-debug
path: |
$tag_debug.tar.gz
$tag_debug.tar.gz.sha256
linux-engine-sdk-debug-arm64-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-debug-arm64-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Debug Release
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_debug" --cleanup-tag -y |true
gh release create --draft "$tag_debug" --title "$tag_debug" --notes "$notes_debug"
gh release upload "$tag_debug" "$tag_debug.tar.gz" "$tag_debug.tar.gz.sha256"
gh release edit "$tag_debug" --draft=false
Expand Down Expand Up @@ -130,35 +131,25 @@ jobs:
scripts/prepare-sdk-$arch.sh src/out/linux_debug_unopt_$arch $PWD/src/build/linux/$target_sysroot

tar czfhv $tag_debug_unopt.tar.gz src/out/linux_debug_unopt_$arch/engine-sdk/
tar czfhv $tag_debug_unopt-symbols.tar.gz src/out/linux_debug_unopt_$arch/.debug/

sha256sum -b $tag_debug_unopt.tar.gz > $tag_debug_unopt.tar.gz.sha256
sha256sum -b $tag_debug_unopt-symbols.tar.gz > $tag_debug_unopt-symbols.tar.gz.sha256

- name: Publish Debug Unoptimized
if: ${{ inputs.release != 'true' }}
uses: actions/upload-artifact@v4
with:
name: engine-sdk-debug-unoptimized
path: |
$tag_debug_unopt.tar.gz
$tag_debug_unopt.tar.gz.sha256

- name: Publish Debug Unoptimized Symbols
if: ${{ inputs.release != 'true' }}
uses: actions/upload-artifact@v4
with:
name: engine-sdk-debug-unoptimized-symbols
path: |
$tag_debug_unopt-symbols.tar.gz
$tag_debug_unopt-symbols.tar.gz.sha256
linux-engine-sdk-debug-unopt-arm64-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-debug-unopt-arm64-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Debug Unoptimized Release
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_debug_unopt" --cleanup-tag -y |true
gh release create --draft "$tag_debug_unopt" --title "$tag_debug_unopt" --notes "$notes_debug_unopt"
gh release upload "$tag_debug_unopt" "$tag_debug_unopt.tar.gz" "$tag_debug_unopt.tar.gz.sha256"
gh release edit "$tag_debug_unopt" --draft=false
Expand Down Expand Up @@ -198,15 +189,16 @@ jobs:
with:
name: engine-sdk-release
path: |
$tag_release.tar.gz
$tag_release.tar.gz.sha256
linux-engine-sdk-release-arm64-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-release-arm64-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Publish Release
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_release" --cleanup-tag -y |true
gh release create --draft "$tag_release" --title "$tag_release" --notes "$notes_release"
gh release upload "$tag_release" "$tag_release.tar.gz" "$tag_release.tar.gz.sha256"
gh release edit "$tag_release" --draft=false
Expand Down Expand Up @@ -246,15 +238,16 @@ jobs:
with:
name: engine-sdk-profile
path: |
$tag_profile.tar.gz
$tag_profile.tar.gz.sha256
linux-engine-sdk-profile-arm64-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-profile-arm64-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Publish Profile
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_profile" --cleanup-tag -y |true
gh release create --draft "$tag_profile" --title "$tag_profile" --notes "$notes_profile"
gh release upload "$tag_profile" "$tag_profile.tar.gz" "$tag_profile.tar.gz.sha256"
gh release edit "$tag_profile" --draft=false
33 changes: 13 additions & 20 deletions .github/workflows/flutter-engine-armv7hf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
linux-armv7hf:
runs-on: [self-hosted, linux, x64]
env:
arch: arm
arch: arm
linux_cpu: arm --arm-float-abi hard
target_triple: armv7-unknown-linux-gnueabihf
target_sysroot: debian_sid_arm-sysroot
Expand Down Expand Up @@ -91,15 +91,16 @@ jobs:
with:
name: engine-sdk-debug
path: |
$tag_debug.tar.gz
$tag_debug.tar.gz.sha256
linux-engine-sdk-debug-armv7hf-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-debug-armv7hf-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Debug Release
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_debug" --cleanup-tag -y |true
gh release create --draft "$tag_debug" --title "$tag_debug" --notes "$notes_debug"
gh release upload "$tag_debug" "$tag_debug.tar.gz" "$tag_debug.tar.gz.sha256"
gh release edit "$tag_debug" --draft=false
Expand Down Expand Up @@ -131,35 +132,25 @@ jobs:
scripts/prepare-sdk-armv7hf.sh src/out/linux_debug_unopt_$arch $PWD/src/build/linux/$target_sysroot

tar czfhv $tag_debug_unopt.tar.gz src/out/linux_debug_unopt_$arch/engine-sdk/
tar czfhv $tag_debug_unopt-symbols.tar.gz src/out/linux_debug_unopt_$arch/.debug/

sha256sum -b $tag_debug_unopt.tar.gz > $tag_debug_unopt.tar.gz.sha256
sha256sum -b $tag_debug_unopt-symbols.tar.gz > $tag_debug_unopt-symbols.tar.gz.sha256

- name: Publish Debug Unoptimized
if: ${{ inputs.release != 'true' }}
uses: actions/upload-artifact@v4
with:
name: engine-sdk-debug-unoptimized
path: |
$tag_debug_unopt.tar.gz
$tag_debug_unopt.tar.gz.sha256

- name: Publish Debug Unoptimized Symbols
if: ${{ inputs.release != 'true' }}
uses: actions/upload-artifact@v4
with:
name: engine-sdk-debug-unoptimized-symbols
path: |
$tag_debug_unopt-symbols.tar.gz
$tag_debug_unopt-symbols.tar.gz.sha256
linux-engine-sdk-debug-unopt-armv7hf-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-debug-unopt-armv7hf-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Debug Unoptimized Release
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_debug_unopt" --cleanup-tag -y |true
gh release create --draft "$tag_debug_unopt" --title "$tag_debug_unopt" --notes "$notes_debug_unopt"
gh release upload "$tag_debug_unopt" "$tag_debug_unopt.tar.gz" "$tag_debug_unopt.tar.gz.sha256"
gh release edit "$tag_debug_unopt" --draft=false
Expand Down Expand Up @@ -200,15 +191,16 @@ jobs:
with:
name: engine-sdk-release
path: |
$tag_release.tar.gz
$tag_release.tar.gz.sha256
linux-engine-sdk-release-armv7hf-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-release-armv7hf-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Publish Release
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_release" --cleanup-tag -y |true
gh release create --draft "$tag_release" --title "$tag_release" --notes "$notes_release"
gh release upload "$tag_release" "$tag_release.tar.gz" "$tag_release.tar.gz.sha256"
gh release edit "$tag_release" --draft=false
Expand Down Expand Up @@ -248,15 +240,16 @@ jobs:
with:
name: engine-sdk-profile
path: |
$tag_profile.tar.gz
$tag_profile.tar.gz.sha256
linux-engine-sdk-profile-armv7hf-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-profile-armv7hf-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Publish Profile
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_profile" --cleanup-tag -y |true
gh release create --draft "$tag_profile" --title "$tag_profile" --notes "$notes_profile"
gh release upload "$tag_profile" "$tag_profile.tar.gz" "$tag_profile.tar.gz.sha256"
gh release edit "$tag_profile" --draft=false
Expand Down
33 changes: 13 additions & 20 deletions .github/workflows/flutter-engine-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
linux-x86_64:
runs-on: [self-hosted, linux, x64]
env:
arch: x64
arch: x64
linux_cpu: x64
target_triple: x86_64-unknown-linux-gnu
target_sysroot: debian_sid_amd64-sysroot
Expand Down Expand Up @@ -87,15 +87,16 @@ jobs:
with:
name: engine-sdk-debug
path: |
$tag_debug.tar.gz
$tag_debug.tar.gz.sha256
linux-engine-sdk-debug-x86_64-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-debug-x86_64-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Debug Release
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_debug" --cleanup-tag -y |true
gh release create --draft "$tag_debug" --title "$tag_debug" --notes "$notes_debug"
gh release upload "$tag_debug" "$tag_debug.tar.gz" "$tag_debug.tar.gz.sha256"
gh release edit "$tag_debug" --draft=false
Expand Down Expand Up @@ -127,35 +128,25 @@ jobs:
scripts/prepare-sdk-x86-64.sh src/out/linux_debug_unopt_$arch $PWD/src/build/linux/$target_sysroot

tar czfhv $tag_debug_unopt.tar.gz src/out/linux_debug_unopt_$arch/engine-sdk/
tar czfhv $tag_debug_unopt-symbols.tar.gz src/out/linux_debug_unopt_$arch/.debug/

sha256sum -b $tag_debug_unopt.tar.gz > $tag_debug_unopt.tar.gz.sha256
sha256sum -b $tag_debug_unopt-symbols.tar.gz > $tag_debug_unopt-symbols.tar.gz.sha256

- name: Publish Debug Unoptimized
if: ${{ inputs.release != 'true' }}
uses: actions/upload-artifact@v4
with:
name: engine-sdk-debug-unoptimized
path: |
$tag_debug_unopt.tar.gz
$tag_debug_unopt.tar.gz.sha256

- name: Publish Debug Unoptimized Symbols
if: ${{ inputs.release != 'true' }}
uses: actions/upload-artifact@v4
with:
name: engine-sdk-debug-unoptimized-symbols
path: |
$tag_debug_unopt-symbols.tar.gz
$tag_debug_unopt-symbols.tar.gz.sha256
linux-engine-sdk-debug-unopt-x86_64-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-debug-unopt-x86_64-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Debug Unoptimized Release
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_debug_unopt" --cleanup-tag -y |true
gh release create --draft "$tag_debug_unopt" --title "$tag_debug_unopt" --notes "$notes_debug_unopt"
gh release upload "$tag_debug_unopt" "$tag_debug_unopt.tar.gz" "$tag_debug_unopt.tar.gz.sha256"
gh release edit "$tag_debug_unopt" --draft=false
Expand Down Expand Up @@ -195,15 +186,16 @@ jobs:
with:
name: engine-sdk-release
path: |
$tag_release.tar.gz
$tag_release.tar.gz.sha256
linux-engine-sdk-release-x86_64-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-release-x86_64-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Publish Release
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_release" --cleanup-tag -y |true
gh release create --draft "$tag_release" --title "$tag_release" --notes "$notes_release"
gh release upload "$tag_release" "$tag_release.tar.gz" "$tag_release.tar.gz.sha256"
gh release edit "$tag_release" --draft=false
Expand Down Expand Up @@ -243,15 +235,16 @@ jobs:
with:
name: engine-sdk-profile
path: |
$tag_profile.tar.gz
$tag_profile.tar.gz.sha256
linux-engine-sdk-profile-x86_64-${{ inputs.srcrev }}.tar.gz
linux-engine-sdk-profile-x86_64-${{ inputs.srcrev }}.tar.gz.sha256

- name: Release - Publish Profile
if: ${{ inputs.release == 'true' }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release delete "$tag_profile" --cleanup-tag -y |true
gh release create --draft "$tag_profile" --title "$tag_profile" --notes "$notes_profile"
gh release upload "$tag_profile" "$tag_profile.tar.gz" "$tag_profile.tar.gz.sha256"
gh release edit "$tag_profile" --draft=false
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024 Joel Winarske

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ Never use a binary build artifact from a server that you cannot validate the exp

When running binaries on your Linux host, if it fails to execute due to interpreter error you can use the following pattern:
```
unshare -mr chroot `pwd`/engine-sdk /usr/bin/gen_snapshot --version
Dart SDK version: 3.6.0-164.0.dev (dev) (Tue Aug 20 13:05:46 2024 -0700) on "linux_x64"
unshare -mr chroot $(pwd)/engine-sdk/clang_x64 /bin/gen_snapshot --version
Dart SDK version: 3.5.2 (stable) (Wed Aug 28 10:01:20 2024 +0000) on "linux_x64"
```
Loading