Browse Source

CI - workaround CI build error on macOS VM runner.
Pin to the last known working Xcode version.

Yao Wei Tjong 姚伟忠 5 years ago
parent
commit
13604a23cc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/main.yml

+ 2 - 0
.github/workflows/main.yml

@@ -177,6 +177,8 @@ jobs:
       - name: Checkout
       - name: Checkout
         uses: actions/checkout@v2
         uses: actions/checkout@v2
         with: { fetch-depth: 0 }
         with: { fetch-depth: 0 }
+      - name: Select xcode
+        run: sudo xcode-select -s '/Applications/Xcode_12.app'
       - name: Install dependencies
       - name: Install dependencies
         run: while ! brew install doxygen graphviz; do sleep 1; done
         run: while ! brew install doxygen graphviz; do sleep 1; done
       - name: CMake
       - name: CMake