Skip to content

Commit c88ce22

Browse files
committed
try build x64 on arm
1 parent f56dabe commit c88ce22

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: VLCKit macOS x64 cross
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
VLCKit_macOS_x64_cross:
9+
if: github.event_name == 'push' || github.event.pull_request.head.repo.id != github.event.pull_request.base.repo.id
10+
runs-on: macos-14
11+
env:
12+
VLCKIT_TAG: 3.6.1b1
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: VLCKit macOS x64 cross build
18+
shell: bash
19+
run: |
20+
# Clone VLCKit repository
21+
git clone https://github.com/videolan/vlckit
22+
cd vlckit
23+
git checkout "tags/$VLCKIT_TAG"
24+
25+
# Build VLCKit for macOS x64 cross
26+
./buildMobileVLCKit.sh -x -a x86_64 -v
27+
28+
# Create output directory
29+
mkdir -p $GITHUB_WORKSPACE/build/macos-x64-cross
30+
31+
# Copy built framework
32+
cp -R build/VLCKit.xcframework $GITHUB_WORKSPACE/build/macos-x64-cross/
33+
34+
- name: Upload VLCKit macOS x64 cross build
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: vlckit-macos-x64-cross-build
38+
path: build/macos-x64-cross/

0 commit comments

Comments
 (0)