Skip to content

Commit 6031215

Browse files
committed
Split platform CI badges with a reusable workflow
1 parent c6de664 commit 6031215

6 files changed

Lines changed: 52 additions & 15 deletions

File tree

.github/workflows/linux-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Linux CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
rust:
14+
uses: ./.github/workflows/rust-ci-reusable.yml
15+
with:
16+
runner: ubuntu-latest

.github/workflows/macos-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: macOS CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
rust:
14+
uses: ./.github/workflows/rust-ci-reusable.yml
15+
with:
16+
runner: macos-latest

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ jobs:
3535
- os: ubuntu-latest
3636
target: x86_64-unknown-linux-gnu
3737
archive_name: devloop-x86_64-unknown-linux-gnu.tar.gz
38-
- os: macos-15-intel
39-
target: x86_64-apple-darwin
40-
archive_name: devloop-x86_64-apple-darwin.tar.gz
4138
- os: macos-14
4239
target: aarch64-apple-darwin
4340
archive_name: devloop-aarch64-apple-darwin.tar.gz
Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
name: CI
1+
name: Rust CI Reusable
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
pull_request:
4+
workflow_call:
5+
inputs:
6+
runner:
7+
required: true
8+
type: string
89

910
permissions:
1011
contents: read
1112

1213
jobs:
1314
rust:
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
os: [ubuntu-latest, macos-latest]
18-
runs-on: ${{ matrix.os }}
15+
runs-on: ${{ inputs.runner }}
1916
steps:
2017
- name: Check out repository
2118
uses: actions/checkout@v6

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ All notable changes to `devloop` will be recorded in this file.
99
the watched fixture file, avoiding a startup race that could time out
1010
on macOS runners.
1111

12+
### Changed
13+
- Split Linux and macOS CI into separate badgeable workflows backed by
14+
one reusable workflow definition, and limited release archives to the
15+
supported Linux x86_64 and macOS Apple Silicon targets.
16+
1217
## [0.6.1] - 2026-03-26
1318

1419
### Changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# devloop
22

3-
[![CI](https://github.com/pasunboneleve/devloop/actions/workflows/ci.yml/badge.svg)](https://github.com/pasunboneleve/devloop/actions/workflows/ci.yml)
3+
[![Linux CI](https://github.com/pasunboneleve/devloop/actions/workflows/linux-ci.yml/badge.svg)](https://github.com/pasunboneleve/devloop/actions/workflows/linux-ci.yml)
4+
[![macOS CI](https://github.com/pasunboneleve/devloop/actions/workflows/macos-ci.yml/badge.svg)](https://github.com/pasunboneleve/devloop/actions/workflows/macos-ci.yml)
45

56
**Keep the local loop cheap.**
67

@@ -48,7 +49,12 @@ cargo install --git https://github.com/pasunboneleve/devloop.git
4849
```
4950

5051
Tagged releases are also published automatically on GitHub with
51-
prebuilt release archives for Linux and macOS.
52+
prebuilt release archives for Linux x86_64 and macOS Apple Silicon.
53+
54+
Supported prebuilt release targets:
55+
56+
- `x86_64-unknown-linux-gnu`
57+
- `aarch64-apple-darwin`
5258

5359
For local development from a checkout:
5460

0 commit comments

Comments
 (0)