Skip to content

Commit 5f9ef29

Browse files
0xLeifclaude
andcommitted
ci: split CI into separate macOS and Ubuntu workflows
- Add macOS.yml for macOS builds with Xcode 16 - Add ubuntu.yml for Ubuntu builds with Swift 6.0 container - Remove old ci.yml workflow - Update README badges to show separate platform status 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 2a9ec59 commit 5f9ef29

File tree

4 files changed

+35
-40
lines changed

4 files changed

+35
-40
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/macOS.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: macOS
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
7+
jobs:
8+
macOS:
9+
runs-on: macos-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Select Xcode
13+
run: sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer
14+
- name: Build
15+
run: swift build -v
16+
- name: Run tests
17+
run: swift test -v

.github/workflows/ubuntu.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: ubuntu
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
7+
jobs:
8+
ubuntu:
9+
runs-on: ubuntu-latest
10+
container: swift:6.0
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Build
14+
run: swift build -v
15+
- name: Run tests
16+
run: swift test -v

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# swift-algorand
22

3-
[![CI](https://img.shields.io/github/actions/workflow/status/CorvidLabs/swift-algorand/ci.yml?label=CI&branch=main)](https://github.com/CorvidLabs/swift-algorand/actions/workflows/ci.yml)
3+
[![macOS](https://img.shields.io/github/actions/workflow/status/CorvidLabs/swift-algorand/macOS.yml?label=macOS&branch=main)](https://github.com/CorvidLabs/swift-algorand/actions/workflows/macOS.yml)
4+
[![Ubuntu](https://img.shields.io/github/actions/workflow/status/CorvidLabs/swift-algorand/ubuntu.yml?label=Ubuntu&branch=main)](https://github.com/CorvidLabs/swift-algorand/actions/workflows/ubuntu.yml)
45
[![License](https://img.shields.io/github/license/CorvidLabs/swift-algorand)](https://github.com/CorvidLabs/swift-algorand/blob/main/LICENSE)
56
[![Version](https://img.shields.io/github/v/release/CorvidLabs/swift-algorand)](https://github.com/CorvidLabs/swift-algorand/releases)
67

0 commit comments

Comments
 (0)