From f67e8991efdc19db67871d85df6b5fdcfd9e4baf Mon Sep 17 00:00:00 2001 From: rustdesk Date: Tue, 5 Dec 2023 23:43:41 +0800 Subject: [PATCH] test self-hosted runner --- .github/workflows/test-selfhosted.yaml | 49 +++++++++++++++++++++++++ db_v2.sqlite3 | Bin 24576 -> 24576 bytes 2 files changed, 49 insertions(+) create mode 100644 .github/workflows/test-selfhosted.yaml diff --git a/.github/workflows/test-selfhosted.yaml b/.github/workflows/test-selfhosted.yaml new file mode 100644 index 0000000..844bfed --- /dev/null +++ b/.github/workflows/test-selfhosted.yaml @@ -0,0 +1,49 @@ +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 + runs-on: self-hosted + os: ubuntu-22.04 + 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 diff --git a/db_v2.sqlite3 b/db_v2.sqlite3 index b77c79fe551b085b378cca9adbf7725959c4e244..59fea56ec33762301f69c3356227fc35a7d27662 100644 GIT binary patch delta 44 zcmZoTz}RqrQ6@OhC$l6~AuYcsH?c&)m_dMniHX5ML4kpRfoGzOGb7K&gaz>cAtwuZ delta 44 zcmZoTz}RqrQ6@OhC$l6~AuYcsH?c&)m_dMnk&(ecL4kpRfqSBiGb8uLgaz>cAoB}$