Skip to content

Commit 1c4f06d

Browse files
committed
separate DRAFT API CI for Ruby 3.3 and Ruby 3.4 so failing builds don't cancel other builds
1 parent ee88b51 commit 1c4f06d

File tree

3 files changed

+34
-3
lines changed

3 files changed

+34
-3
lines changed

.github/workflows/draft_api.yml renamed to .github/workflows/draft_api_current_ruby.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: DRAFT API
1+
name: DRAFT API on Ruby 3.4
22

33
on: [push,pull_request]
44

@@ -9,7 +9,6 @@ jobs:
99
strategy:
1010
matrix:
1111
ruby:
12-
- '3.3'
1312
- '3.4'
1413
steps:
1514
- uses: actions/checkout@v4
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: DRAFT API on Ruby 3.3
2+
3+
on: [push,pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-24.04
8+
timeout-minutes: 15
9+
strategy:
10+
matrix:
11+
ruby:
12+
- '3.3'
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Ruby ${{ matrix.ruby }}
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: ${{ matrix.ruby }}
19+
- name: Install ZMQ and CZMQ
20+
run: |
21+
export PKG_CONFIG_PATH=$HOME/lib/pkgconfig # custom libs (for linking)
22+
env
23+
env ZMQ_VERSION=HEAD ci/install-libzmq
24+
env CZMQ_VERSION=HEAD ci/install-libczmq
25+
- name: Run the default task
26+
run: |
27+
export LD_LIBRARY_PATH=$HOME/lib # custom libs (for execution)
28+
env
29+
gem install bundler
30+
bundle install
31+
bundle exec rake

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
![Specs status](https://github.com/paddor/cztop/workflows/STABLE%20API/badge.svg)
2-
![Specs status](https://github.com/paddor/cztop/workflows/DRAFT%20API/badge.svg)
2+
![Specs status](https://github.com/paddor/cztop/workflows/DRAFT%20API%20on%20Ruby%203.3/badge.svg)
3+
![Specs status](https://github.com/paddor/cztop/workflows/DRAFT%20API%20on%20Ruby%203.4/badge.svg)
34
[![codecov](https://codecov.io/gh/paddor/cztop/branch/master/graph/badge.svg?token=TnjOba97R7)](https://codecov.io/gh/paddor/cztop)
45

56
# CZTop

0 commit comments

Comments
 (0)