Skip to content

Commit

Permalink
Rename job to "xcodebuild" and add new job "ios"
Browse files Browse the repository at this point in the history
- The commit renames the job "build" to "xcodebuild" in the build.yml file.
- It also adds a new job "ios" to the build.yml file.
- Both jobs run on "macos-13" and include steps for code checkout and Xcode build.
- The "xcodebuild" job tests the "katago" scheme in the cpp/xcode directory.
- The "ios" job builds the "KataGo iOS" scheme in the ios/KataGo iOS directory.
  • Loading branch information
ChinChangYang committed Nov 18, 2023
1 parent 8795a7a commit 319ce0f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '.github/workflows/build.yml'

jobs:
build:
xcodebuild:
runs-on: macos-13
steps:
- name: Checkout code
Expand Down Expand Up @@ -44,3 +44,15 @@ jobs:
run: |
cd cpp/xcode
/Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/xcodebuild -derivedDataPath DerivedData -scheme katago -configuration Release test
ios:
runs-on: macos-13
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Xcode build
run: |
cd "ios/KataGo iOS"
/Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/xcodebuild -derivedDataPath DerivedData -scheme "KataGo iOS" -configuration Release build

0 comments on commit 319ce0f

Please sign in to comment.