Skip to content

Commit

Permalink
ci: Update swift-code-coverage.yml and drop swift 5.8 build (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
freef4ll authored Oct 14, 2024
1 parent f9dcf0b commit d61145d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/swift-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/checkout@v4

- uses: khlopko/setup-swift@bfd61cbd14eeef55a27afc45138b61ced7174839
- name: Swift version
run: swift --version
- name: Ubuntu deps
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get install -y libjemalloc-dev llvm-15
sudo apt-get install -y libjemalloc-dev #llvm-15
- name: Start consul
uses: ./.github/actions/consul-start
Expand All @@ -35,12 +37,13 @@ jobs:
fi
if [ -f ${xctest_binary} ]; then
llvm-cov-15 export -format="lcov" ${xctest_binary} -instr-profile .build/debug/codecov/default.profdata > info.lcov
llvm-cov export -format="lcov" ${xctest_binary} -instr-profile .build/debug/codecov/default.profdata > info.lcov
fi
- name: Upload codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_REPO_TOKEN }}
token: ${{ secrets.CODECOV_REPO_TOKEN }}
files: info.lcov
fail_ci_if_error: true
verbose: true
7 changes: 5 additions & 2 deletions .github/workflows/swift-linux-previous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
swift: ["5.8", "5.9"]
swift: ["5.9", "5.10"]


runs-on: ${{ matrix.os }}

steps:
- uses: fwal/setup-swift@v1
- uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift }}

- name: Swift version
run: swift --version

- uses: actions/checkout@v3

- name: Start consul
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/swift-macos-previous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13]
swift: ["5.8", "5.9"]
os: [macos-14]
swift: ["5.9", "5.10"]

runs-on: ${{ matrix.os }}

steps:
- uses: fwal/setup-swift@v1
- uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift }}

Expand Down
2 changes: 0 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
ignore:
- "Benchmarks" # ignore Benchmarks
s

0 comments on commit d61145d

Please sign in to comment.