Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think is handy to allow to call this manually with workflow_dispatch, specially if you wan to test the new version.

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
ci:
runs-on: ubuntu-latest

steps:
- name: Checkout icerpc/slicec
uses: actions/checkout@v4
with:
repository: icerpc/slicec
path: slicec

- name: Checkout this repository
uses: actions/checkout@v4
with:
path: icerpc-slice

- name: Compile Slice files
working-directory: slicec
run: |
find ../icerpc-slice -name '*.slice' -print0 | xargs -0 -r cargo run --release --bin slicec -- > /dev/null