Skip to content

Commit cf421f2

Browse files
authored
ci: move CI/CD and environment to Xcode 16 and Swift 6.2 (#972) (#1002)
Use macOS 26 on GitHub Actions runners Use Swift 6.2 buildchain and format Closes #972 Acked-by: Ludovic Pinel <ludovic.pinel@orange.com> Signed-off-by: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com>
1 parent cddbd67 commit cf421f2

File tree

11 files changed

+19
-18
lines changed

11 files changed

+19
-18
lines changed

.github/DEVELOP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ rbenv global 3.4.0
107107
ruby --version
108108
```
109109

110-
We use also for our GitLab CI runners **Xcode 16.4**, we suggest you use this version or newer if you want.
110+
We use also for our GitLab CI runners **Xcode 26.0**, we suggest you use this version or newer if you want.
111111

112112
> [!IMPORTANT]
113-
> Xcode 16.4 and Swift 6.1 are used for this project. You must use this configuration.
113+
> Xcode 26.0 and Swift 6.2 are used for this project. You must use this configuration.
114114
> No retrocompatibility is planned.
115115
116116
## Build OUDS Package

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ permissions:
4545
jobs:
4646
# Build the library
4747
build:
48-
runs-on: macos-15
48+
runs-on: macos-26
4949
steps:
5050
- name: Checkout code
5151
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5252

53-
- name: Set up Xcode 16.4.0
53+
- name: Set up Xcode 26.0
5454
run: |
55-
sudo xcode-select -s /Applications/Xcode_16.4.0.app/Contents/Developer
55+
sudo xcode-select -s /Applications/Xcode_26.0.app/Contents/Developer
5656
5757
- name: Set up Ruby
5858
uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0, https://github.com/ruby/setup-ruby
@@ -69,14 +69,14 @@ jobs:
6969
7070
# Test the library with unit tests
7171
unit-test:
72-
runs-on: macos-15
72+
runs-on: macos-26
7373
steps:
7474
- name: Checkout code
7575
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7676

77-
- name: Set up Xcode 16.4.0
77+
- name: Set up Xcode 26.0
7878
run: |
79-
sudo xcode-select -s /Applications/Xcode_16.4.0.app/Contents/Developer
79+
sudo xcode-select -s /Applications/Xcode_26.0.app/Contents/Developer
8080
8181
- name: Set up Ruby
8282
uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0, https://github.com/ruby/setup-ruby

.github/workflows/build-documentation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ permissions:
4444
jobs:
4545
# Build the documentation to check if everything works well
4646
build-documentation:
47-
runs-on: macos-15
47+
runs-on: macos-26
4848
steps:
4949
- name: Checkout code
5050
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5151

52-
- name: Set up Xcode 16.4.0
52+
- name: Set up Xcode 26.0
5353
run: |
54-
sudo xcode-select -s /Applications/Xcode_16.4.0.app/Contents/Developer
54+
sudo xcode-select -s /Applications/Xcode_26.0.app/Contents/Developer
5555
5656
- name: Build documentation
5757
run: |

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ permissions:
4141
jobs:
4242
analyze:
4343
name: Analyze
44-
runs-on: macos-15
44+
runs-on: macos-26
4545
permissions:
4646
actions: read
4747
contents: read

.github/workflows/periphery.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ permissions:
4242

4343
jobs:
4444
deadcode:
45-
runs-on: macos-15
45+
runs-on: macos-26
4646
steps:
4747
- name: Checkout code
4848
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

.github/workflows/swiftlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ permissions:
3939

4040
jobs:
4141
SwiftLint:
42-
runs-on: macos-15
42+
runs-on: macos-26
4343
steps:
4444
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4545
- uses: cirruslabs/swiftlint-action@37b78e658ba6bcb1679df34819a4a8d8c269a940 # v1.1.0, https://github.com/cirruslabs/swiftlint-action

.github/workflows/swiftpolyglot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ permissions:
4343
jobs:
4444
i18n:
4545
name: Check translations (Swift Polyglot)
46-
runs-on: macos-15
46+
runs-on: macos-26
4747
steps:
4848
- name: Checkout code
4949
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

.swiftformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Software description: A SwiftUI components library with code examples for Orange Unified Design System
1212
#
1313

14-
--swiftversion 6.1
14+
--swiftversion 6.2
1515

1616
--exclude Resources/CodeGen/**,Pods/**
1717

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16+
- Migration to Xcode 26.0 (Orange-OpenSource/ouds-ios#972)
1617
- Button component `hierarchy` property renamed to `appearance` (Orange-OpenSource/ouds-ios#969)
1718

1819
## [0.19.0](https://github.com/Orange-OpenSource/ouds-ios/compare/0.18.0...0.19.0) - 2025-09-24

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.0
1+
// swift-tools-version: 6.2
22

33
//
44
// Software Name: OUDS iOS

0 commit comments

Comments
 (0)