Skip to content

Commit

Permalink
feat: MaaAgent (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO authored Mar 5, 2025
1 parent 63cc4ac commit cf9a589
Show file tree
Hide file tree
Showing 100 changed files with 6,379 additions and 750 deletions.
12 changes: 6 additions & 6 deletions .github/actions/publish_nodejs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ runs:
token: ${{ inputs.token }}
access: ${{ inputs.access }}
dry-run: ${{ inputs.dry-run }}
- uses: JS-DevTools/npm-publish@v3
with:
package: assets/MAA-nodejs-package/maa-node-win32-arm64
token: ${{ inputs.token }}
access: ${{ inputs.access }}
dry-run: ${{ inputs.dry-run }}
# - uses: JS-DevTools/npm-publish@v3
# with:
# package: assets/MAA-nodejs-package/maa-node-win32-arm64
# token: ${{ inputs.token }}
# access: ${{ inputs.access }}
# dry-run: ${{ inputs.dry-run }}
- uses: JS-DevTools/npm-publish@v3
with:
package: assets/MAA-nodejs-package/maa-node-linux-x64
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
arch: [aarch64, x86_64]
arch: [x86_64]
fail-fast: false

steps:
Expand Down Expand Up @@ -214,13 +214,9 @@ jobs:
needs: meta
strategy:
matrix:
include:
- os: macos-13
arch: x86_64
- os: macos-14
arch: aarch64
arch: [aarch64, x86_64]
fail-fast: false
runs-on: ${{ matrix.os }}
runs-on: macos-${{ matrix.arch == 'x86_64' && '13' || 'latest' }}

steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ jobs:
run: |
python3 -m pip install -r ./source/binding/Python/requirements.txt
python3 ./test/python/binding_test.py ./source/binding/Python ./install
python3 ./test/agent/agent_main_test.py ./source/binding/Python ./install
- name: Run NodeJS testing
shell: bash
Expand Down Expand Up @@ -251,6 +252,7 @@ jobs:
source .venv/bin/activate
python3 -m pip install -r ./source/binding/Python/requirements.txt
python3 ./test/python/binding_test.py ./source/binding/Python ./install
python3 ./test/agent/agent_main_test.py ./source/binding/Python ./install
- name: Run NodeJS testing
shell: bash
Expand All @@ -275,13 +277,9 @@ jobs:
needs: meta
strategy:
matrix:
include:
- os: macos-13
arch: x86_64
- os: macos-14
arch: aarch64
arch: [aarch64, x86_64]
fail-fast: false
runs-on: ${{ matrix.os }}
runs-on: macos-${{ matrix.arch == 'x86_64' && '13' || 'latest' }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -368,6 +366,7 @@ jobs:
source .venv/bin/activate
python3 -m pip install -r ./source/binding/Python/requirements.txt
python3 ./test/python/binding_test.py ./source/binding/Python ./install
python3 ./test/agent/agent_main_test.py ./source/binding/Python ./install
- name: Run NodeJS testing
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/MaaDeps
Submodule MaaDeps updated 29 files
+12 −0 vcpkg-overlay/ports/maa-onnxruntime/include-chrono.patch
+1 −0 vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake
+4 −0 vcpkg-overlay/ports/opencv/portfile.cmake
+3 −0 vcpkg-overlay/ports/opencv/vcpkg-cmake-wrapper.cmake.in
+592 −0 vcpkg-overlay/ports/opencv/vcpkg.json
+12 −0 vcpkg-overlay/ports/opencv4/0001-disable-downloading.patch
+64 −0 vcpkg-overlay/ports/opencv4/0002-install-options.patch
+122 −0 vcpkg-overlay/ports/opencv4/0003-force-package-requirements.patch
+11 −0 vcpkg-overlay/ports/opencv4/0004-fix-eigen.patch
+7 −0 vcpkg-overlay/ports/opencv4/0005-fix-policy-CMP0057.patch
+11 −0 vcpkg-overlay/ports/opencv4/0006-fix-uwp.patch
+28 −0 vcpkg-overlay/ports/opencv4/0007-contrib-fix-hdf5.patch
+22 −0 vcpkg-overlay/ports/opencv4/0008-devendor-quirc.patch
+26 −0 vcpkg-overlay/ports/opencv4/0009-fix-protobuf.patch
+13 −0 vcpkg-overlay/ports/opencv4/0010-fix-uwp-tiff-imgcodecs.patch
+24 −0 vcpkg-overlay/ports/opencv4/0011-remove-python2.patch
+10 −0 vcpkg-overlay/ports/opencv4/0012-fix-zlib.patch
+8 −0 vcpkg-overlay/ports/opencv4/0013-contrib-fix-ogre.patch
+13 −0 vcpkg-overlay/ports/opencv4/0014-fix-cmake-in-list.patch
+11 −0 vcpkg-overlay/ports/opencv4/0015-fix-freetype.patch
+16 −0 vcpkg-overlay/ports/opencv4/0016-contrib-fix-freetype.patch
+16 −0 vcpkg-overlay/ports/opencv4/0017-fix-flatbuffers.patch
+11 −0 vcpkg-overlay/ports/opencv4/0018-contrib-fix-tesseract.patch
+10 −0 vcpkg-overlay/ports/opencv4/0019-opencl-kernel.patch
+14 −0 vcpkg-overlay/ports/opencv4/0020-miss-openexr.patch
+683 −0 vcpkg-overlay/ports/opencv4/portfile.cmake
+4 −0 vcpkg-overlay/ports/opencv4/usage.in
+494 −0 vcpkg-overlay/ports/opencv4/vcpkg.json
+2 −1 vcpkg.json
Loading

0 comments on commit cf9a589

Please sign in to comment.