diff --git a/.github/workflows/BuildPR.yml b/.github/workflows/BuildPR.yml index c3f5b57c..16e4a75e 100644 --- a/.github/workflows/BuildPR.yml +++ b/.github/workflows/BuildPR.yml @@ -1,6 +1,10 @@ name: PullRequest -on: [ pull_request ] +on: + push: + branches: + - master + pull_request: jobs: build-objective-git: @@ -9,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - xcode: [ Xcode_12.4, Xcode_13.2.1 ] + xcode: [ Xcode_14.2, Xcode_13.4 ] steps: - name: ls Xcode run: ls -la /Applications/Xcode* @@ -20,7 +24,13 @@ jobs: submodules: true - name: Set XCode Version run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app + - name: Show openssl version + run: | + openssl version - name: pre build run: script/bootstrap && script/update_libgit2 + - name: Show openssl version + run: | + openssl version - name: Test and archive project run: xcodebuild -workspace ObjectiveGitFramework.xcworkspace -scheme "ObjectiveGit Mac" test archive ARCHS="x86_64"