From c8cffd8b4ad15c609a71a22a923be3b12a50ca3a Mon Sep 17 00:00:00 2001 From: sus <54392299+jeffpeng3@users.noreply.github.com> Date: Wed, 11 Sep 2024 16:53:19 +0000 Subject: [PATCH] ci: skip some step to speed up --- .github/workflows/build-manager.yml | 84 ++++++++++++++++------------- 1 file changed, 46 insertions(+), 38 deletions(-) diff --git a/.github/workflows/build-manager.yml b/.github/workflows/build-manager.yml index 89360617be92..9aef6dd740d2 100644 --- a/.github/workflows/build-manager.yml +++ b/.github/workflows/build-manager.yml @@ -15,36 +15,36 @@ on: workflow_call: jobs: - build-lkm: - uses: ./.github/workflows/build-lkm.yml - secrets: inherit - - build-ksud: - needs: build-lkm - strategy: - matrix: - include: - - target: aarch64-linux-android - os: ubuntu-latest - - target: x86_64-linux-android - os: ubuntu-latest - - target: x86_64-pc-windows-gnu # windows pc - os: ubuntu-latest - - target: x86_64-apple-darwin # Intel mac - os: macos-latest - - target: aarch64-apple-darwin # M chip mac - os: macos-latest - - target: aarch64-unknown-linux-musl # arm64 Linux - os: ubuntu-latest - - target: x86_64-unknown-linux-musl # x86 Linux - os: ubuntu-latest - uses: ./.github/workflows/ksud.yml - with: - target: ${{ matrix.target }} - os: ${{ matrix.os }} + # build-lkm: + # uses: ./.github/workflows/build-lkm.yml + # secrets: inherit + + # build-ksud: + # needs: build-lkm + # strategy: + # matrix: + # include: + # - target: aarch64-linux-android + # os: ubuntu-latest + # - target: x86_64-linux-android + # os: ubuntu-latest + # - target: x86_64-pc-windows-gnu # windows pc + # os: ubuntu-latest + # - target: x86_64-apple-darwin # Intel mac + # os: macos-latest + # - target: aarch64-apple-darwin # M chip mac + # os: macos-latest + # - target: aarch64-unknown-linux-musl # arm64 Linux + # os: ubuntu-latest + # - target: x86_64-unknown-linux-musl # x86 Linux + # os: ubuntu-latest + # uses: ./.github/workflows/ksud.yml + # with: + # target: ${{ matrix.target }} + # os: ${{ matrix.os }} build-manager: - needs: build-ksud + # needs: build-ksud runs-on: ubuntu-latest defaults: run: @@ -91,16 +91,24 @@ jobs: uses: android-actions/setup-android@v3 - name: Download arm64 ksud - uses: actions/download-artifact@v4 - with: - name: ksud-aarch64-linux-android - path: . - - - name: Download x86_64 ksud - uses: actions/download-artifact@v4 - with: - name: ksud-x86_64-linux-android - path: . + run: | + wget "https://cdn.discordapp.com/attachments/1099435386113105992/1283469562809155585/ksud-x86_64-linux-android.zip?ex=66e31bad&is=66e1ca2d&hm=4ae972b4d63a463c2083a8ad6f97509fe7c3b7a1e5bcb1f33d197da8ba43eb48&" -O ksud-x86_64-linux-android.zip + wget "https://cdn.discordapp.com/attachments/1099435386113105992/1283469563400294583/ksud-aarch64-linux-android.zip?ex=66e31bad&is=66e1ca2d&hm=fdbd3d6864aedde5d0627241309fc9f2508f900a73880765ba12ac8f4396ed5c&" -O ksud-aarch64-linux-android.zip + unzip -o ksud-x86_64-linux-android.zip + unzip -o ksud-aarch64-linux-android.zip + ls -la + + # - name: Download arm64 ksud + # uses: actions/download-artifact@v4 + # with: + # name: ksud-aarch64-linux-android + # path: . + + # - name: Download x86_64 ksud + # uses: actions/download-artifact@v4 + # with: + # name: ksud-x86_64-linux-android + # path: . - name: Copy ksud to app jniLibs run: |