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 bee4ade
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/rcc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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
tar -C $HOME -xzf go1.20.6.linux-amd64.tar.gz
- name: Add Go to PATH
run: echo "PATH=$PATH:$HOME/go/bin" >> $GITHUB_ENV

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

0 comments on commit bee4ade

Please sign in to comment.