Skip to content

Commit

Permalink
GitHub action to build and test RCC
Browse files Browse the repository at this point in the history
  • Loading branch information
jherbel committed Jul 13, 2023
1 parent dc9295a commit 085869e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/rcc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: RCC

on: [push, pull_request]

jobs:
build_and_test:
runs-on: Ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true

- name: Setup Rake
run: |
sudo apt-get install rubygems
sudo gem install rake
- name: Setup Go
run: |
wget https://go.dev/dl/go1.20.6.linux-amd64.tar.gz
mkdir $HOME/go
tar -C $HOME/go -xzf go1.20.6.linux-amd64.tar.gz
- name: Add Go to PATH
run: echo "PATH=$PATH:$HOME/go" >> $GITHUB_ENV

- name: Build RCC
run: |
cd rcc
rake build
- name: Test RCC
run: |
cd rcc
rake test

0 comments on commit 085869e

Please sign in to comment.