From 319ce0f50fd5c99e0364770ff68d32e739b03d86 Mon Sep 17 00:00:00 2001 From: Chin-Chang Yang <2770271+ChinChangYang@users.noreply.github.com> Date: Sat, 18 Nov 2023 20:26:29 +0800 Subject: [PATCH] Rename job to "xcodebuild" and add new job "ios" - 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. --- .github/workflows/build.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7d929abc..67aeff767 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ on: - '.github/workflows/build.yml' jobs: - build: + xcodebuild: runs-on: macos-13 steps: - name: Checkout code @@ -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 +