Compare commits
26 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
5a7e7f6f2c | |
|
|
f4171fe60b | |
|
|
a834762450 | |
|
|
2a81e3f700 | |
|
|
95a68d3be5 | |
|
|
bdf02b7764 | |
|
|
b1e8c310c5 | |
|
|
fe373e2c3f | |
|
|
8a1e19dc11 | |
|
|
a77d5eb257 | |
|
|
f69d47a87e | |
|
|
616d9979e0 | |
|
|
1b8039809d | |
|
|
36c2df79e4 | |
|
|
77719f1bde | |
|
|
102e97cc9a | |
|
|
2aee784f51 | |
|
|
c56a9f7155 | |
|
|
240688a4e2 | |
|
|
713d0fa3b3 | |
|
|
e70179b362 | |
|
|
58377bcfbc | |
|
|
bcee9db3de | |
|
|
2403d96e90 | |
|
|
ece8921cfe | |
|
|
693acdc032 |
|
|
@ -7,7 +7,7 @@ on:
|
|||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
linux-test-build-release:
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
|
||||
- name: Upload test artifacts
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4.4.3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-artifacts-linux-${{ matrix.swift }}-${{ github.run_id }}
|
||||
path: |
|
||||
|
|
|
|||
|
|
@ -9,32 +9,34 @@ on:
|
|||
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
CODECOV_XCODE_VERSION: "15.4" # Xcode version used to generate code coverage
|
||||
CODECOV_XCODE_VERSION: "16.0" # Xcode version used to generate code coverage
|
||||
|
||||
jobs:
|
||||
macos-test-build-release-xcode:
|
||||
runs-on: macOS-latest
|
||||
macos:
|
||||
runs-on: ${{ matrix.config.os }}
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
xcode: ["14.3.1", "15.4", "16.0"]
|
||||
|
||||
config:
|
||||
- { os: "macos-14", xcode: "15.4" }
|
||||
- { os: "macos-15", xcode: "16.0" }
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Select Xcode ${{ matrix.xcode }}
|
||||
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
|
||||
- name: Select Xcode ${{ matrix.config.xcode }}
|
||||
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.config.xcode }}.app
|
||||
|
||||
- name: Test
|
||||
run: swift test -c release --parallel --xunit-output .build/xUnit-output.xml --enable-code-coverage
|
||||
env:
|
||||
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
|
||||
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.config.xcode }}.app/Contents/Developer
|
||||
|
||||
- name: Upload test artifacts
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4.4.3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-artifacts-${{ matrix.xcode }}-${{ github.run_id }}
|
||||
name: test-artifacts-${{ matrix.config.xcode }}-${{ github.run_id }}
|
||||
path: |
|
||||
.build/*.yaml
|
||||
.build/*.xml
|
||||
|
|
@ -48,13 +50,13 @@ jobs:
|
|||
|
||||
# Only run coverage steps if the CODECOV_TOKEN is available and the matrix.xcode matches CODECOV_XCODE_VERSION
|
||||
- name: Generate coverage report
|
||||
if: env.CODECOV_TOKEN != '' && matrix.xcode == env.CODECOV_XCODE_VERSION
|
||||
if: env.CODECOV_TOKEN != '' && matrix.config.xcode == env.CODECOV_XCODE_VERSION
|
||||
run: xcrun llvm-cov export -format="lcov" .build/**/*PackageTests.xctest/Contents/MacOS/*PackageTests -instr-profile .build/**/codecov/default.profdata > coverage.lcov
|
||||
|
||||
- name: Upload code coverage report
|
||||
if: env.CODECOV_TOKEN != '' && matrix.xcode == env.CODECOV_XCODE_VERSION
|
||||
uses: codecov/codecov-action@v4.6.0
|
||||
if: env.CODECOV_TOKEN != '' && matrix.config.xcode == env.CODECOV_XCODE_VERSION
|
||||
uses: codecov/codecov-action@v5.4.0
|
||||
with:
|
||||
token: ${{ env.CODECOV_TOKEN }}
|
||||
file: coverage.lcov
|
||||
files: coverage.lcov
|
||||
fail_ci_if_error: true
|
||||
|
|
|
|||
|
|
@ -7,11 +7,10 @@ on:
|
|||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
wasm-build:
|
||||
wasm:
|
||||
runs-on: ubuntu-latest
|
||||
container: swift:6.0.3
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
uses: swiftwasm/swiftwasm-action@v5.9
|
||||
with:
|
||||
shell-action: swift build --triple wasm32-unknown-wasi
|
||||
- uses: swiftwasm/setup-swiftwasm@v2
|
||||
- run: swift build --swift-sdk wasm32-unknown-wasi
|
||||
|
|
|
|||
|
|
@ -6,12 +6,20 @@ on:
|
|||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
defaults:
|
||||
run: # Use powershell because bash is not supported: https://github.com/compnerd/gha-setup-swift/issues/18#issuecomment-1705524890
|
||||
shell: pwsh
|
||||
|
||||
jobs:
|
||||
windows-test-build-release:
|
||||
runs-on: windows-latest
|
||||
windows:
|
||||
runs-on: windows-2019 # Windows SDK lower than 10.0.26100 is needed until https://github.com/swiftlang/swift/pull/79751 released!
|
||||
steps:
|
||||
|
||||
- name: Setup VS Dev Environment
|
||||
uses: seanmiddleditch/gha-setup-vsdevenv@v5
|
||||
|
||||
- name: Setup
|
||||
uses: compnerd/gha-setup-swift@v0.2.3
|
||||
uses: compnerd/gha-setup-swift@v0.3.0
|
||||
with:
|
||||
branch: swift-5.10-release
|
||||
tag: 5.10-RELEASE
|
||||
|
|
@ -24,7 +32,7 @@ jobs:
|
|||
|
||||
- name: Upload test artifacts
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4.4.3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-artifacts-windows-${{ github.run_id }}
|
||||
path: |
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-14
|
||||
documentation:
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- name: Select Xcode 16.0
|
||||
run: sudo xcode-select -s /Applications/Xcode_16.0.app
|
||||
|
|
@ -37,9 +37,9 @@ jobs:
|
|||
run: >
|
||||
rm -rf docs/.git;
|
||||
rm -rf docs/master;
|
||||
git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.0" | tail -n +6 | xargs -I {} rm -rf {};
|
||||
git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.*" | tail -n +6 | xargs -I {} rm -rf {};
|
||||
|
||||
for tag in $(echo "master"; git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.0" | head -6);
|
||||
for tag in $(echo "master"; git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.*" | head -6);
|
||||
do
|
||||
if [ -d "docs/$tag/data/documentation/firebladeecs" ]
|
||||
then
|
||||
|
|
@ -69,7 +69,7 @@ jobs:
|
|||
run: 'sudo chown -R $USER docs'
|
||||
|
||||
- name: Publish documentation to GitHub Pages
|
||||
uses: JamesIves/github-pages-deploy-action@v4.6.8
|
||||
uses: JamesIves/github-pages-deploy-action@v4.7.3
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: docs
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v4
|
||||
- name: markdown-link-check
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@master
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@1.0.16
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ let package = Package(
|
|||
],
|
||||
dependencies: [
|
||||
.package(path: "../"),
|
||||
.package(url: "https://github.com/ordo-one/package-benchmark", .upToNextMajor(from: "1.27.3"))
|
||||
.package(url: "https://github.com/ordo-one/package-benchmark", .upToNextMajor(from: "1.29.2"))
|
||||
],
|
||||
targets: [
|
||||
.executableTarget(
|
||||
|
|
|
|||
2
Mintfile
2
Mintfile
|
|
@ -1,3 +1,3 @@
|
|||
realm/SwiftLint@0.57.0
|
||||
nicklockwood/SwiftFormat@0.54.6
|
||||
nicklockwood/SwiftFormat@0.55.0
|
||||
krzysztofzablocki/Sourcery@2.2.5
|
||||
|
|
|
|||
|
|
@ -1,13 +1,94 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["config:base"],
|
||||
"extends": [
|
||||
"config:recommended",
|
||||
":combinePatchMinorReleases",
|
||||
":rebaseStalePrs",
|
||||
":renovatePrefix",
|
||||
"customManagers:githubActionsVersions"
|
||||
],
|
||||
"prConcurrentLimit": 5,
|
||||
"prHourlyLimit": 1,
|
||||
"recreateWhen": "auto",
|
||||
"prCreation": "not-pending",
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "Accumulate non-major updates into one pull request",
|
||||
"matchUpdateTypes": ["minor", "patch"],
|
||||
"matchCurrentVersion": ">=1",
|
||||
"groupName": "all non-major dependencies",
|
||||
"groupSlug": "all-minor-patch"
|
||||
"groupName": "Swift non-major dependencies",
|
||||
"description": "Group all Swift package minor and patch updates together",
|
||||
"matchManagers": [
|
||||
"swift"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch"
|
||||
],
|
||||
"labels": [
|
||||
"dependencies",
|
||||
"renovate",
|
||||
"swift"
|
||||
]
|
||||
},
|
||||
{
|
||||
"groupName": "GitHub Actions non-major dependencies",
|
||||
"description": "Group all GitHub Actions minor and patch updates together",
|
||||
"matchManagers": [
|
||||
"github-actions"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch"
|
||||
],
|
||||
"labels": [
|
||||
"dependencies",
|
||||
"renovate",
|
||||
"ci"
|
||||
]
|
||||
},
|
||||
{
|
||||
"groupName": "Mint non-major dependencies",
|
||||
"description": "Group all Mint package minor and patch updates together",
|
||||
"matchManagers": [
|
||||
"mint"
|
||||
],
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch"
|
||||
],
|
||||
"labels": [
|
||||
"dependencies",
|
||||
"renovate",
|
||||
"mint"
|
||||
]
|
||||
}
|
||||
],
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Update swift-tools-version in Package.swift",
|
||||
"fileMatch": [
|
||||
"Package\\.swift"
|
||||
],
|
||||
"matchStrings": [
|
||||
"^\/\/(\\s)?swift-tools-version:[\\s]?(?<currentValue>[0-9.]+)"
|
||||
],
|
||||
"datasourceTemplate": "github-releases",
|
||||
"depNameTemplate": "swiftlang/swift",
|
||||
"extractVersionTemplate": "^swift-(?<version>.*)-RELEASE$"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Update .swift-version",
|
||||
"fileMatch": ".swift-version",
|
||||
"matchStrings": [
|
||||
"(?<currentValue>[0-9.]+)"
|
||||
],
|
||||
"datasourceTemplate": "github-releases",
|
||||
"depNameTemplate": "swiftlang/swift",
|
||||
"extractVersionTemplate": "^swift-(?<version>.*)-RELEASE$"
|
||||
}
|
||||
],
|
||||
"labels": [
|
||||
"dependencies",
|
||||
"renovate"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue