Skip to content

Commit

Permalink
ci: add android
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO authored Sep 13, 2024
1 parent 91e3e96 commit 025ccd0
Showing 1 changed file with 35 additions and 3 deletions.
38 changes: 35 additions & 3 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
with:
repository: MaaXYZ/MaaFramework
fileName: "MAA-win-${{ matrix.arch }}*"
latest: true
# latest: true
out-file-path: "deps"
extract: true

Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
with:
repository: MaaXYZ/MaaFramework
fileName: "MAA-linux-${{ matrix.arch }}*"
latest: true
# latest: true
out-file-path: "deps"
extract: true

Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
with:
repository: MaaXYZ/MaaFramework
fileName: "MAA-macos-${{ matrix.arch }}*"
latest: true
# latest: true
out-file-path: "deps"
extract: true

Expand All @@ -145,6 +145,38 @@ jobs:
name: M9A-macos-${{ matrix.arch }}
path: "install"

android:
needs: meta
runs-on: macos-latest
strategy:
matrix:
arch: [aarch64, x86_64]
fail-fast: false

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Download MaaFramework
uses: robinraju/[email protected]
with:
repository: MaaXYZ/MaaFramework
fileName: "MAA-android-${{ matrix.arch }}*"
# latest: true
out-file-path: "deps"
extract: true

- name: Install
shell: bash
run: |
python ./install.py ${{ needs.meta.outputs.tag }}
- uses: actions/upload-artifact@v3
with:
name: M9A-android-${{ matrix.arch }}
path: "install"

release:
if: ${{ needs.meta.outputs.is_release == 'true' }}
needs: [meta, windows, ubuntu, macos]
Expand Down

0 comments on commit 025ccd0

Please sign in to comment.