Skip to content

Commit

Permalink
ci: skip some step to speed up
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpeng3 committed Sep 11, 2024
1 parent 2f3aa41 commit c8cffd8
Showing 1 changed file with 46 additions and 38 deletions.
84 changes: 46 additions & 38 deletions .github/workflows/build-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit c8cffd8

Please sign in to comment.