An open-source cross-platform alternative to AirDrop
ci: use github arm64 runner
Tien Do Namb3e56a8459cd
diff --git a/.github/workflows/build_apk.yml b/.github/workflows/build_apk.ymlindex 61ae0eb1..c04104cf 100644--- a/.github/workflows/build_apk.yml+++ b/.github/workflows/build_apk.yml@@ -5,7 +5,6 @@ on:env:FLUTTER_VERSION: "3.41.9"- RUST_VERSION: "1.84.1"APK_BUILD_DIR: "/tmp/build"jobs:@@ -66,7 +65,6 @@ jobs:uses: actions-rs/toolchain@v1with:toolchain: stable- override: ${{ env.RUST_VERSION }}- name: Dependenciesworking-directory: ${{ env.APK_BUILD_DIR }}/appdiff --git a/.github/workflows/build_arm64_appimage.yml b/.github/workflows/build_arm64_appimage.ymlindex 13fc7e42..82087fa9 100644--- a/.github/workflows/build_arm64_appimage.yml+++ b/.github/workflows/build_arm64_appimage.yml@@ -21,11 +21,9 @@ jobs:VERSION=$(sed -n 's/^version: \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' app/pubspec.yaml)echo "version=$VERSION" >> $GITHUB_OUTPUT- # Manage the Flutter version on the self-hosted runner manually!- # Flutter currently doesn't provide Linux ARM64 binaries.build_appimage_arm_64:needs: build- runs-on: [self-hosted, linux, arm64]+ runs-on: ubuntu-24.04-armsteps:- uses: actions/checkout@v6@@ -35,6 +33,22 @@ jobs:sudo apt-get updatesudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev libfuse2+ # Flutter doesn't provide Linux ARM64 binaries, so clone the SDK from GitHub instead of using a setup action.+ - name: Setup Flutter SDK+ run: |+ git clone --depth 1 --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git $HOME/flutter+ echo "$HOME/flutter/bin" >> $GITHUB_PATH+ $HOME/flutter/bin/flutter --version++ - name: Install Rust+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable++ - name: Check rust-toolchain.toml+ working-directory: packages/localsend_isolates+ run: rustup show+- name: Dependenciesworking-directory: apprun: flutter pub getdiff --git a/.github/workflows/build_arm64_deb.yml b/.github/workflows/build_arm64_deb.ymlindex 69cb7cd5..758632b8 100644--- a/.github/workflows/build_arm64_deb.yml+++ b/.github/workflows/build_arm64_deb.yml@@ -21,11 +21,9 @@ jobs:VERSION=$(sed -n 's/^version: \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' app/pubspec.yaml)echo "version=$VERSION" >> $GITHUB_OUTPUT- # Manage the Flutter version on the self-hosted runner manually!- # Flutter currently doesn't provide Linux ARM64 binaries.build_deb_arm_64:needs: build- runs-on: [self-hosted, linux, arm64]+ runs-on: ubuntu-24.04-armsteps:- uses: actions/checkout@v6@@ -35,6 +33,22 @@ jobs:sudo apt-get updatesudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev+ # Flutter doesn't provide Linux ARM64 binaries, so clone the SDK from GitHub instead of using a setup action.+ - name: Setup Flutter SDK+ run: |+ git clone --depth 1 --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git $HOME/flutter+ echo "$HOME/flutter/bin" >> $GITHUB_PATH+ $HOME/flutter/bin/flutter --version++ - name: Install Rust+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable++ - name: Check rust-toolchain.toml+ working-directory: packages/localsend_isolates+ run: rustup show+- name: Enable dart_distributorrun: dart pub global activate flutter_distributordiff --git a/.github/workflows/build_arm64_tar.yml b/.github/workflows/build_arm64_tar.ymlindex f1fa8ada..374c9ffd 100644--- a/.github/workflows/build_arm64_tar.yml+++ b/.github/workflows/build_arm64_tar.yml@@ -21,11 +21,9 @@ jobs:VERSION=$(sed -n 's/^version: \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' app/pubspec.yaml)echo "version=$VERSION" >> $GITHUB_OUTPUT- # Manage the Flutter version on the self-hosted runner manually!- # Flutter currently doesn't provide Linux ARM64 binaries.build_tar_arm_64:needs: build- runs-on: [self-hosted, linux, arm64]+ runs-on: ubuntu-24.04-armsteps:- uses: actions/checkout@v6@@ -35,6 +33,22 @@ jobs:sudo apt-get updatesudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev+ # Flutter doesn't provide Linux ARM64 binaries, so clone the SDK from GitHub instead of using a setup action.+ - name: Setup Flutter SDK+ run: |+ git clone --depth 1 --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git $HOME/flutter+ echo "$HOME/flutter/bin" >> $GITHUB_PATH+ $HOME/flutter/bin/flutter --version++ - name: Install Rust+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable++ - name: Check rust-toolchain.toml+ working-directory: packages/localsend_isolates+ run: rustup show+- name: Dependenciesworking-directory: apprun: flutter pub getdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 8a5b37ef..24be1d87 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -5,7 +5,6 @@ on:env:FLUTTER_VERSION: "3.41.9"- RUST_VERSION: "1.84.1"APK_BUILD_DIR: "/tmp/build"jobs:@@ -66,7 +65,6 @@ jobs:uses: actions-rs/toolchain@v1with:toolchain: stable- override: ${{ env.RUST_VERSION }}- name: Check rust-toolchain.tomlworking-directory: ${{ env.APK_BUILD_DIR }}/packages/localsend_isolates@@ -110,7 +108,6 @@ jobs:uses: actions-rs/toolchain@v1with:toolchain: stable- override: ${{ env.RUST_VERSION }}- name: Check rust-toolchain.tomlworking-directory: packages/localsend_isolates@@ -135,11 +132,9 @@ jobs:name: tar-gz-x86-64-resultpath: ./app/*.tar.gz- # Manage the Flutter version on the self-hosted runner manually!- # Flutter currently doesn't provide Linux ARM64 binaries.build_tar_arm_64:needs: build- runs-on: [ self-hosted, linux, arm64 ]+ runs-on: ubuntu-24.04-armsteps:- uses: actions/checkout@v6@@ -149,6 +144,22 @@ jobs:sudo apt-get updatesudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev+ # Flutter doesn't provide Linux ARM64 binaries, so clone the SDK from GitHub instead of using a setup action.+ - name: Setup Flutter SDK+ run: |+ git clone --depth 1 --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git $HOME/flutter+ echo "$HOME/flutter/bin" >> $GITHUB_PATH+ $HOME/flutter/bin/flutter --version++ - name: Install Rust+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable++ - name: Check rust-toolchain.toml+ working-directory: packages/localsend_isolates+ run: rustup show+- name: Dependenciesworking-directory: apprun: flutter pub get@@ -189,7 +200,6 @@ jobs:uses: actions-rs/toolchain@v1with:toolchain: stable- override: ${{ env.RUST_VERSION }}- name: Check rust-toolchain.tomlworking-directory: packages/localsend_isolates@@ -226,11 +236,9 @@ jobs:name: deb-x86-64-resultpath: ${{ steps.find_deb.outputs.deb_path }}- # Manage the Flutter version on the self-hosted runner manually!- # Flutter currently doesn't provide Linux ARM64 binaries.build_deb_arm_64:needs: build- runs-on: [ self-hosted, linux, arm64 ]+ runs-on: ubuntu-24.04-armsteps:- uses: actions/checkout@v6@@ -240,6 +248,22 @@ jobs:sudo apt-get updatesudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev+ # Flutter doesn't provide Linux ARM64 binaries, so clone the SDK from GitHub instead of using a setup action.+ - name: Setup Flutter SDK+ run: |+ git clone --depth 1 --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git $HOME/flutter+ echo "$HOME/flutter/bin" >> $GITHUB_PATH+ $HOME/flutter/bin/flutter --version++ - name: Install Rust+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable++ - name: Check rust-toolchain.toml+ working-directory: packages/localsend_isolates+ run: rustup show+- name: Enable dart_distributorrun: dart pub global activate flutter_distributor@@ -289,7 +313,6 @@ jobs:uses: actions-rs/toolchain@v1with:toolchain: stable- override: ${{ env.RUST_VERSION }}- name: Check rust-toolchain.tomlworking-directory: packages/localsend_isolates