Skip to content

Commit

Permalink
separate DRAFT API CI for Ruby 3.3 and Ruby 3.4 so failing builds don…
Browse files Browse the repository at this point in the history
…'t cancel other builds
  • Loading branch information
paddor committed Jan 3, 2025
1 parent ee88b51 commit 1c4f06d
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: DRAFT API
name: DRAFT API on Ruby 3.4

on: [push,pull_request]

Expand All @@ -9,7 +9,6 @@ jobs:
strategy:
matrix:
ruby:
- '3.3'
- '3.4'
steps:
- uses: actions/checkout@v4
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/draft_api_previous_ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: DRAFT API on Ruby 3.3

on: [push,pull_request]

jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 15
strategy:
matrix:
ruby:
- '3.3'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install ZMQ and CZMQ
run: |
export PKG_CONFIG_PATH=$HOME/lib/pkgconfig # custom libs (for linking)
env
env ZMQ_VERSION=HEAD ci/install-libzmq
env CZMQ_VERSION=HEAD ci/install-libczmq
- name: Run the default task
run: |
export LD_LIBRARY_PATH=$HOME/lib # custom libs (for execution)
env
gem install bundler
bundle install
bundle exec rake
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
![Specs status](https://github.com/paddor/cztop/workflows/STABLE%20API/badge.svg)
![Specs status](https://github.com/paddor/cztop/workflows/DRAFT%20API/badge.svg)
![Specs status](https://github.com/paddor/cztop/workflows/DRAFT%20API%20on%20Ruby%203.3/badge.svg)
![Specs status](https://github.com/paddor/cztop/workflows/DRAFT%20API%20on%20Ruby%203.4/badge.svg)
[![codecov](https://codecov.io/gh/paddor/cztop/branch/master/graph/badge.svg?token=TnjOba97R7)](https://codecov.io/gh/paddor/cztop)

# CZTop
Expand Down

0 comments on commit 1c4f06d

Please sign in to comment.