Update flutter-build.yml
This commit is contained in:
parent
535e1bd2ce
commit
f68ef1492f
81
.github/workflows/flutter-build.yml
vendored
81
.github/workflows/flutter-build.yml
vendored
@ -617,7 +617,7 @@ jobs:
|
|||||||
build-rustdesk-lib-linux-amd64:
|
build-rustdesk-lib-linux-amd64:
|
||||||
needs: [generate-bridge-linux, build-vcpkg-deps-linux]
|
needs: [generate-bridge-linux, build-vcpkg-deps-linux]
|
||||||
name: build-rust-lib ${{ matrix.job.target }} (${{ matrix.job.os }}) [${{ matrix.job.extra-build-features }}]
|
name: build-rust-lib ${{ matrix.job.target }} (${{ matrix.job.os }}) [${{ matrix.job.extra-build-features }}]
|
||||||
runs-on: ${{ matrix.job.os }}
|
runs-on: [self-hosted]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -648,25 +648,26 @@ jobs:
|
|||||||
}
|
}
|
||||||
# - { target: x86_64-unknown-linux-musl , os: ubuntu-20.04, use-cross: true }
|
# - { target: x86_64-unknown-linux-musl , os: ubuntu-20.04, use-cross: true }
|
||||||
steps:
|
steps:
|
||||||
- name: Maximize build space
|
#- name: Maximize build space
|
||||||
run: |
|
# run: |
|
||||||
sudo rm -rf /opt/ghc
|
# sudo rm -rf /opt/ghc
|
||||||
sudo rm -rf /usr/local/lib/android
|
# sudo rm -rf /usr/local/lib/android
|
||||||
sudo rm -rf /usr/share/dotnet
|
# sudo rm -rf /usr/share/dotnet
|
||||||
sudo apt update -y
|
# sudo apt update -y
|
||||||
sudo apt install qemu-user-static
|
# sudo apt install qemu-user-static -y
|
||||||
|
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set Swap Space
|
#- name: Set Swap Space
|
||||||
uses: pierotofy/set-swap-space@master
|
# uses: pierotofy/set-swap-space@master
|
||||||
with:
|
# with:
|
||||||
swap-size-gb: 12
|
# swap-size-gb: 12
|
||||||
|
|
||||||
- name: Free Space
|
- name: Free Space
|
||||||
run: |
|
run: |
|
||||||
df
|
df -h
|
||||||
|
free -m
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
@ -765,7 +766,7 @@ jobs:
|
|||||||
if: ${{ inputs.upload-artifact }}
|
if: ${{ inputs.upload-artifact }}
|
||||||
needs: [generate-bridge-linux, build-vcpkg-deps-linux]
|
needs: [generate-bridge-linux, build-vcpkg-deps-linux]
|
||||||
name: build-rust-lib ${{ matrix.job.target }} (${{ matrix.job.os }}) [${{ matrix.job.extra-build-features }}]
|
name: build-rust-lib ${{ matrix.job.target }} (${{ matrix.job.os }}) [${{ matrix.job.extra-build-features }}]
|
||||||
runs-on: ${{ matrix.job.os }}
|
runs-on: [self-hosted]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -798,25 +799,26 @@ jobs:
|
|||||||
# - { arch: armv7, target: armv7-unknown-linux-gnueabihf , os: ubuntu-20.04, use-cross: true, extra-build-features: "appimage" }
|
# - { arch: armv7, target: armv7-unknown-linux-gnueabihf , os: ubuntu-20.04, use-cross: true, extra-build-features: "appimage" }
|
||||||
# - { target: arm-unknown-linux-musleabihf, os: ubuntu-20.04, use-cross: true }
|
# - { target: arm-unknown-linux-musleabihf, os: ubuntu-20.04, use-cross: true }
|
||||||
steps:
|
steps:
|
||||||
- name: Maximize build space
|
#- name: Maximize build space
|
||||||
run: |
|
# run: |
|
||||||
sudo rm -rf /opt/ghc
|
# sudo rm -rf /opt/ghc
|
||||||
sudo rm -rf /usr/local/lib/android
|
# sudo rm -rf /usr/local/lib/android
|
||||||
sudo rm -rf /usr/share/dotnet
|
# sudo rm -rf /usr/share/dotnet
|
||||||
sudo apt update -y
|
# sudo apt update -y
|
||||||
sudo apt install qemu-user-static
|
# sudo apt install qemu-user-static -y
|
||||||
|
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set Swap Space
|
#- name: Set Swap Space
|
||||||
uses: pierotofy/set-swap-space@master
|
# uses: pierotofy/set-swap-space@master
|
||||||
with:
|
# with:
|
||||||
swap-size-gb: 12
|
# swap-size-gb: 12
|
||||||
|
|
||||||
- name: Free Space
|
- name: Free Space
|
||||||
run: |
|
run: |
|
||||||
df
|
df -h
|
||||||
|
free -m
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
@ -908,7 +910,7 @@ jobs:
|
|||||||
if: ${{ inputs.upload-artifact }}
|
if: ${{ inputs.upload-artifact }}
|
||||||
needs: [build-vcpkg-deps-linux]
|
needs: [build-vcpkg-deps-linux]
|
||||||
name: build-rustdesk(sciter) ${{ matrix.job.target }} (${{ matrix.job.os }}) [${{ matrix.job.extra-build-features }}]
|
name: build-rustdesk(sciter) ${{ matrix.job.target }} (${{ matrix.job.os }}) [${{ matrix.job.extra-build-features }}]
|
||||||
runs-on: ${{ matrix.job.os }}
|
runs-on: [self-hosted]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -927,25 +929,26 @@ jobs:
|
|||||||
# - { target: arm-unknown-linux-musleabihf, os: ubuntu-20.04, use-cross: true }
|
# - { target: arm-unknown-linux-musleabihf, os: ubuntu-20.04, use-cross: true }
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Maximize build space
|
#- name: Maximize build space
|
||||||
run: |
|
# run: |
|
||||||
sudo rm -rf /opt/ghc
|
# sudo rm -rf /opt/ghc
|
||||||
sudo rm -rf /usr/local/lib/android
|
# sudo rm -rf /usr/local/lib/android
|
||||||
sudo rm -rf /usr/share/dotnet
|
# sudo rm -rf /usr/share/dotnet
|
||||||
sudo apt update -y
|
# sudo apt update -y
|
||||||
sudo apt install qemu-user-static
|
# sudo apt install qemu-user-static -y
|
||||||
|
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set Swap Space
|
#- name: Set Swap Space
|
||||||
uses: pierotofy/set-swap-space@master
|
# uses: pierotofy/set-swap-space@master
|
||||||
with:
|
# with:
|
||||||
swap-size-gb: 12
|
# swap-size-gb: 12
|
||||||
|
|
||||||
- name: Free Space
|
- name: Free Space
|
||||||
run: |
|
run: |
|
||||||
df
|
df -h
|
||||||
|
free -m
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user