Skip to content

Commit 5cb2ed3

Browse files
committed
ci:only support arm64 macos build
1 parent a4273dd commit 5cb2ed3

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/macbuild.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17-
- os: macos-13
18-
- os: macos-14
17+
- os: macos-last
1918
runs-on: ${{ matrix.os }}
2019

2120
steps:
@@ -43,14 +42,7 @@ jobs:
4342
- name: Set TERM variable
4443
run: echo "TERM=xterm" >> $GITHUB_ENV
4544

46-
- name: Set up Dependency x86_64 Environment
47-
if: matrix.os == 'macos-13'
48-
run: |
49-
cd libxengine
50-
chmod 777 *
51-
./XEngine_LINEnv.sh -i 3
5245
- name: Set up Dependency Arm64 Environment
53-
if: matrix.os == 'macos-14'
5446
run: |
5547
latest_tag=$(git ls-remote --tags --sort="v:refname" https://github.com/libxengine/libxengine.git | awk '{print $2}' | sed 's/refs\/tags\///' | tail -n 1)
5648
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Mac_Arm64.zip
@@ -79,13 +71,6 @@ jobs:
7971
./copydb.sh
8072
./XEngine_APIServiceApp -t
8173
82-
- name: Upload folder as artifact with mac x64
83-
if: matrix.os == 'macos-13'
84-
uses: actions/upload-artifact@v4
85-
with:
86-
name: XEngine_APIServiceApp-Mac_x86_64
87-
path: XEngine_Release/
88-
retention-days: 1
8974
- name: Upload folder as artifact with mac arm
9075
if: matrix.os == 'macos-14'
9176
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)