Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack253-png authored Jan 1, 2025
1 parent e5b0d20 commit 39cab8a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,16 @@ jobs:
plat: iphoneos
arch: arm64

- os: macos-latest
name: WatchOS
plat: watchos
arch: i386

- os: macos-latest
name: WatchOS
plat: watchos
arch: armv7k

name: Build ${{ matrix.name }}
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -166,6 +176,10 @@ jobs:
- name: Configure IOS
if: matrix.plat == 'iphoneos'
run: xmake f -p iphoneos -m ${{ env.MODE }} -yc ${{ env.XMAKE_ARGS }}

- name: Configure WatchOS
if: matrix.plat == 'watchos'
run: xmake f -p watchos -a ${{ matrix.arch }} -m ${{ env.MODE }} -yc ${{ env.XMAKE_ARGS }}

- name: Configure OpenHarmony
if: matrix.plat == 'harmony'
Expand Down

0 comments on commit 39cab8a

Please sign in to comment.