refactor ci

This commit is contained in:
rustdesk 2024-04-30 23:19:59 +08:00
parent cce74f5631
commit f74374e759

View File

@ -549,7 +549,7 @@ jobs:
- { - {
target: x86_64-apple-darwin, target: x86_64-apple-darwin,
os: macos-13, #macos-latest or macos-14 use M1 now, https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#:~:text=14%20GB-,macos%2Dlatest%20or%20macos%2D14,-The%20macos%2Dlatestlabel os: macos-13, #macos-latest or macos-14 use M1 now, https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#:~:text=14%20GB-,macos%2Dlatest%20or%20macos%2D14,-The%20macos%2Dlatestlabel
extra-build-args: "", extra-build-args: "--disable-flutter-texture-render",
arch: x86_64, arch: x86_64,
} }
- { - {
@ -651,13 +651,7 @@ jobs:
- name: Build rustdesk - name: Build rustdesk
run: | run: |
if [[ "${{ matrix.job.arch }}" == "aarch64" ]]; then ./build.py --flutter --hwcodec ${{ matrix.job.extra-build-args }}
export EXTRA_ARGS=""
else
export EXTRA_ARGS="--disable-flutter-texture-render"
fi
echo $EXTRA_ARGS
./build.py --flutter $EXTRA_ARGS --hwcodec ${{ matrix.job.extra-build-args }}
- name: create unsigned dmg - name: create unsigned dmg
if: env.UPLOAD_ARTIFACT == 'true' if: env.UPLOAD_ARTIFACT == 'true'