From fc775102ff7412e23948f9476c291e68bffcb87c Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Fri, 22 Dec 2023 20:03:30 +0800 Subject: [PATCH] Delete .github/workflows/test-selfhosted.yaml --- .github/workflows/test-selfhosted.yaml | 53 -------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .github/workflows/test-selfhosted.yaml diff --git a/.github/workflows/test-selfhosted.yaml b/.github/workflows/test-selfhosted.yaml deleted file mode 100644 index 4340bdb1..00000000 --- a/.github/workflows/test-selfhosted.yaml +++ /dev/null @@ -1,53 +0,0 @@ -name: test self-hosted runner - -on: - schedule: - # schedule build every night - - cron: "0 0 * * *" - workflow_dispatch: - -jobs: - build: - name: Build - #runs-on: ubuntu-22.04 - # need to docker login ghcr.io on self-hosted machine for cross build, use github username and personal token (lowest permission is fine) - runs-on: self-hosted - # Runner docker image - # with container, it is hard to handle cross build (need docker in docker) - #container: - #image: archlinux/archlinux:base-devel - strategy: - fail-fast: false - matrix: - job: - - { name: "amd64", target: "x86_64-unknown-linux-musl" } - - { name: "arm64v8", target: "aarch64-unknown-linux-musl" } - - { name: "armv7", target: "armv7-unknown-linux-musleabihf" } - - { name: "i386", target: "i686-unknown-linux-musl" } - - { name: "amd64fb", target: "x86_64-unknown-freebsd" } - - steps: - - - name: Checkout - uses: actions/checkout@v3 - - - name: Install toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: "stable" - override: true - default: true - components: rustfmt - profile: minimal - target: ${{ matrix.job.target }} - - - name: Exec sqkx - run: | - cargo install sqlx-cli - - - name: Build - uses: actions-rs/cargo@v1 - with: - command: build - args: --release --target=${{ matrix.job.target }} - use-cross: true