Workflow: Xcode 26.2 #162
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| branches: [ master, develop ] | |
| jobs: | |
| build: | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode 26.2 | |
| uses: developer-actions/setup-xcode@v1 | |
| with: | |
| xcode-version: '26.2' | |
| - name: Verify Xcode version | |
| run: xcodebuild -version | |
| - name: Build | |
| run: swift build | |
| - name: Test | |
| run: | | |
| swift test --enable-code-coverage | |
| xcrun llvm-cov export -format="lcov" .build/debug/DLogPackageTests.xctest/contents/macos/DLogPackageTests -instr-profile .build/debug/codecov/default.profdata -ignore-filename-regex='Tests' -ignore-filename-regex='Net' > info.lcov | |
| - name: Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |