portable-service: add quick_start feature and ci

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-11-16 20:32:22 +08:00
Unverified
parent 0a2627f06a
commit 0199770454
6 changed files with 33 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ env:
jobs:
build-for-windows:
name: ${{ matrix.job.target }} (${{ matrix.job.os }})
name: ${{ matrix.job.target }} (${{ matrix.job.os }}) ${{ matrix.job.suffix }}
runs-on: ${{ matrix.job.os }}
strategy:
fail-fast: false
@@ -23,7 +23,8 @@ jobs:
job:
# - { target: i686-pc-windows-msvc , os: windows-2019 }
# - { target: x86_64-pc-windows-gnu , os: windows-2019 }
- { target: x86_64-pc-windows-msvc , os: windows-2019 }
- { target: x86_64-pc-windows-msvc , os: windows-2019, suffix: "" , extra-build-args: "" }
- { target: x86_64-pc-windows-msvc , os: windows-2019, suffix: "-qs", extra-build-args: "--quick_start" }
steps:
- name: Checkout source code
uses: actions/checkout@v3
@@ -83,13 +84,13 @@ jobs:
shell: bash
- name: Build rustdesk
run: python3 .\build.py --portable --hwcodec --flutter
run: python3 .\build.py --portable --hwcodec --flutter ${{ matrix.job.extra-build-args }}
- name: Rename rustdesk
shell: bash
run: |
for name in rustdesk*??-install.exe; do
mv "$name" "${name%%-install.exe}-${{ matrix.job.target }}.exe"
mv "$name" "${name%%-install.exe}-${{ matrix.job.target }}${{ matrix.job.suffix }}.exe"
done
- name: Publish Release