Skip to content

Commit

Permalink
add github workflows (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
bduggan authored Dec 20, 2024
1 parent 7348d63 commit 9eab312
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Linux

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

jobs:
raku:
strategy:
matrix:
os:
- ubuntu-latest
raku-version:
- '2024.05'
- 'latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install native deps
run: sudo apt-get install -y libzmq-dev
- name: Install Dependencies
run: zef install --deps-only .
- name: Run Tests
run: zef test -v .
33 changes: 33 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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@v3
- name: Install native deps
run: |
brew install czmq zmq
echo "DYLD_LIBRARY_PATH=/opt/homebrew/lib:/opt/homebrew/Cellar/zeromq/4.3.5_1/lib:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
brew list zmq
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install Dependencies
run: zef install --deps-only .
- name: Run Tests
run: zef test -v .
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Jupyter::Kernel for Raku
----------------
[![Actions Status](https://github.com/bduggan/raku-jupyter-kernel/actions/workflows/linux.yml/badge.svg)](https://github.com/bduggan/raku-jupyter-kernel/actions/workflows/linux.yml)
[![Actions Status](https://github.com/bduggan/raku-jupyter-kernel/actions/workflows/macos.yml/badge.svg)](https://github.com/bduggan/raku-jupyter-kernel/actions/workflows/macos.yml)

[![Binder](https://binder.pangeo.io/badge_logo.svg)](https://mybinder.org/v2/gh/bduggan/p6-jupyter-kernel/master?filepath=hello-world.ipynb)

![autocomplete](https://user-images.githubusercontent.com/58956/29986517-c6a2020e-8f31-11e7-83da-086ad18bc662.gif)
Expand Down

0 comments on commit 9eab312

Please sign in to comment.