Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/sol/move rcc target to workflow #424

Merged
merged 2 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
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
47 changes: 23 additions & 24 deletions .github/workflows/rcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,30 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
- name: "Checkout repository"
uses: actions/checkout@v4
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.21.0.linux-amd64.tar.gz
# rcc expects $HOME/go/bin to be present (hard-coded)
tar -C $HOME -xzf go1.21.0.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
repository: robocorp/rcc
ref: v14.15.4

- name: "Setup Go"
uses: actions/setup-go@v3
with:
go-version: '1.20.x'

- name: "Setup Rake"
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'

- name: "Build RCC"
run: rake build

- name: "Test RCC"
run: rake test

- name: "Upload RCC binaries"
uses: actions/upload-artifact@v3
with:
name: rcc
path: rcc/build
path: build
if-no-files-found: error
1 change: 0 additions & 1 deletion rcc
Submodule rcc deleted from c74154
Loading