Skip to content

Commit

Permalink
CI badges separate for each OS
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Nov 6, 2024
1 parent 3567ed1 commit 4301cda
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 5 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: linux

on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:

jobs:
raku:
strategy:
matrix:
os:
- ubuntu-latest
raku-version:
- 'latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install Dependencies
run: zef install --/test --test-depends --deps-only .
- name: Run Tests
run: raku run-tests
28 changes: 28 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: macos

on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:

jobs:
raku:
strategy:
matrix:
os:
- macOS-latest
raku-version:
- 'latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install Dependencies
run: zef install --/test --test-depends --deps-only .
- name: Run Tests
run: raku run-tests
4 changes: 1 addition & 3 deletions .github/workflows/test.yml → .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test
name: windows

on:
push:
Expand All @@ -13,8 +13,6 @@ jobs:
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
raku-version:
- 'latest'
Expand Down
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Revision history for MoarVM::Remote

{{$NEXT}}
- Added documentation about message types, adapted from the
Protocol Design in the MoarVM repository
- Added CI badges for each OS separately

0.0.2 2024-04-01T11:24:00+02:00
- Initial version in the zef ecosystem
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Actions Status](https://github.com/raku-community-modules/MoarVM-Remote/actions/workflows/test.yml/badge.svg)](https://github.com/raku-community-modules/MoarVM-Remote/actions)
[![Actions Status](https://github.com/raku-community-modules/MoarVM-Remote/actions/workflows/linux.yml/badge.svg)](https://github.com/raku-community-modules/MoarVM-Remote/actions) [![Actions Status](https://github.com/raku-community-modules/MoarVM-Remote/actions/workflows/macos.yml/badge.svg)](https://github.com/raku-community-modules/MoarVM-Remote/actions) [![Actions Status](https://github.com/raku-community-modules/MoarVM-Remote/actions/workflows/windows.yml/badge.svg)](https://github.com/raku-community-modules/MoarVM-Remote/actions)

NAME
====
Expand Down
4 changes: 3 additions & 1 deletion dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ filename = doc/MoarVM-Remote.rakudoc
[UploadToZef]

[Badges]
provider = github-actions/test.yml
provider = github-actions/linux.yml
provider = github-actions/macos.yml
provider = github-actions/windows.yml

0 comments on commit 4301cda

Please sign in to comment.