-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add symbols for release (#455)
~~@MaaXYZ/binding-developers macos下, bin目录会多若干个`.dSYM`目录, 含有库的调试信息, 如果不需要可以移除~~ 已经移动到symbol目录 --------- Co-authored-by: MistEO <[email protected]>
- Loading branch information
Showing
6 changed files
with
154 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,13 +91,13 @@ jobs: | |
run: | | ||
cmake --preset "${{ matrix.arch == 'x86_64' && 'MSVC 2022' || 'MSVC 2022 ARM' }}" -DCMAKE_SYSTEM_VERSION="10.0.26100.0" -DMAADEPS_TRIPLET="maa-${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-windows" -DMAA_HASH_VERSION='${{ needs.meta.outputs.tag }}' -DBUILD_NODEJS_BINDING=ON | ||
cmake --build build --preset "${{ matrix.arch == 'x86_64' && 'MSVC 2022' || 'MSVC 2022 ARM' }} - Release" -j 16 | ||
cmake --build build --preset "${{ matrix.arch == 'x86_64' && 'MSVC 2022' || 'MSVC 2022 ARM' }} - RelWithDebInfo" -j 16 | ||
- name: Install | ||
shell: bash | ||
if: always() | ||
run: | | ||
cmake --install build --prefix install | ||
cmake --install build --prefix install --config RelWithDebInfo | ||
rm -rf install/bin/msvc-debug | ||
cp -r docs install | ||
|
@@ -113,73 +113,6 @@ jobs: | |
name: MAA-win-${{ matrix.arch }} | ||
path: "install" | ||
|
||
windows_debug: | ||
needs: meta | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
arch: [x86_64] | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Windows runner hack | ||
shell: cmd | ||
run: | | ||
dir d:\a | ||
cd .. | ||
mkdir C:\MaaFramework | ||
rmdir MaaFramework | ||
mklink /j MaaFramework C:\MaaFramework | ||
dism /Online /Disable-Feature /FeatureName:Windows-Defender /Remove /NoRestart /Quiet | ||
cd . | ||
- name: Windows runner hack (2) | ||
uses: al-cheb/[email protected] | ||
with: | ||
minimum-size: 16GB | ||
maximum-size: 16GB | ||
disk-root: "D:" | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup Windows 10 SDK | ||
uses: GuillaumeFalourd/[email protected] | ||
with: | ||
sdk-version: 26100 | ||
|
||
- name: Bootstrap MaaDeps | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
python3 tools/maadeps-download.py x64-windows | ||
- name: Build MAA | ||
run: | | ||
cmake --preset 'MSVC 2022' -DCMAKE_SYSTEM_VERSION="10.0.26100.0" -DMAADEPS_TRIPLET="maa-x64-windows" -DMAA_HASH_VERSION='${{ needs.meta.outputs.tag }}-dbg' | ||
cmake --build build --preset 'MSVC 2022 - Debug' -j 16 --config Debug | ||
- name: Install | ||
shell: bash | ||
if: always() | ||
run: | | ||
cmake --install build --prefix install --config Debug | ||
cp -r docs install | ||
cp README*.md install | ||
cp -r sample install | ||
cp -r LICENSE.md install | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: MAA-win-dbg-${{ matrix.arch }} | ||
path: "install" | ||
|
||
ubuntu: | ||
needs: meta | ||
runs-on: ubuntu-latest | ||
|
@@ -247,13 +180,13 @@ jobs: | |
-DMAA_HASH_VERSION='${{ needs.meta.outputs.tag }}' \ | ||
-DBUILD_NODEJS_BINDING=ON | ||
cmake --build build --preset 'NinjaMulti - Release' -j 16 | ||
cmake --build build --preset 'NinjaMulti - RelWithDebInfo' -j 16 | ||
- name: Install | ||
shell: bash | ||
if: always() | ||
run: | | ||
cmake --install build --prefix install | ||
cmake --install build --prefix install --config RelWithDebInfo | ||
cp -r docs install | ||
cp README*.md install | ||
|
@@ -329,13 +262,13 @@ jobs: | |
-DCMAKE_CXX_COMPILER=${LLVM_PREFIX}/bin/clang++ \ | ||
-DBUILD_NODEJS_BINDING=ON | ||
cmake --build build --preset 'NinjaMulti - Release' -j 16 | ||
cmake --build build --preset 'NinjaMulti - RelWithDebInfo' -j 16 | ||
- name: Install | ||
shell: bash | ||
if: always() | ||
run: | | ||
cmake --install build --prefix install | ||
cmake --install build --prefix install --config RelWithDebInfo | ||
cp -r docs install | ||
cp README*.md install | ||
|
@@ -395,13 +328,13 @@ jobs: | |
-DMAADEPS_TRIPLET='maa-${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-android' \ | ||
-DMAA_HASH_VERSION='${{ needs.meta.outputs.tag }}' | ||
cmake --build build --preset 'NinjaMulti - Release' -j 16 | ||
cmake --build build --preset 'NinjaMulti - RelWithDebInfo' -j 16 | ||
- name: Install | ||
shell: bash | ||
if: always() | ||
run: | | ||
cmake --install build --prefix install | ||
cmake --install build --prefix install --config RelWithDebInfo | ||
cp -r docs install | ||
cp README*.md install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 18) | ||
if(APPLE) | ||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 18) | ||
install( | ||
CODE " | ||
execute_process( | ||
COMMAND \${CMAKE_SOURCE_DIR}/tools/mac_post_install.sh \${CMAKE_INSTALL_PREFIX} -r | ||
) | ||
") | ||
endif() | ||
|
||
install( | ||
CODE " | ||
execute_process( | ||
COMMAND \${CMAKE_SOURCE_DIR}/tools/fix_mac_rpath.sh \${CMAKE_INSTALL_PREFIX} | ||
COMMAND \${CMAKE_SOURCE_DIR}/tools/mac_post_install.sh \${CMAKE_INSTALL_PREFIX} -d | ||
) | ||
") | ||
" CONFIGURATIONS RelWithDebInfo) | ||
endif() |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.