-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also pin rcc submodule to latest release tag (14.6.0). CMK-14015
- Loading branch information
Showing
2 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: RCC | ||
|
||
on: | ||
push: | ||
paths: | ||
- rcc | ||
pull_request: | ||
paths: | ||
- rcc | ||
|
||
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 | ||
# rcc expects $HOME/go/bin to be present (hard-coded) | ||
tar -C $HOME -xzf go1.20.6.linux-amd64.tar.gz | ||
echo "PATH=$PATH:$HOME/go/bin" >> $GITHUB_ENV | ||
- name: Build RCC | ||
run: rake -C rcc build | ||
|
||
- name: Test RCC | ||
run: rake -C rcc test | ||
|
||
- name: Upload RCC binaries | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: rcc | ||
path: rcc/build |
Submodule rcc
updated
49 files