Skip to content

leo-ard is testing out GitHub Actions 🚀 #38

leo-ard is testing out GitHub Actions 🚀

leo-ard is testing out GitHub Actions 🚀 #38

Workflow file for this run

name: Test
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
compile_RSC:
runs-on: ubuntu-latest
steps:
- name: Checkout the ribbit repository
uses: actions/checkout@v2
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
- name: Download gambit artifact into gambit-artifact
uses: actions/download-artifact@v4
with:
name: gambit-linux-x86_64
path: gambit-artifact
repository: gambit/gambit
github-token: ${{ secrets.GAMBIT_DOWNLOAD_TOKEN }}
run-id: 7920968329
- name: Extract the artifact
run: |
ls -l gambit-artifact
mkdir -p gambit
tar -xzf gambit-artifact/gambit-linux-x86_64.tgz -C gambit
pwd
ls -la gambit
- name: Make sure gsi and gsc are working
run: |
./gambit/bin/gsi -v
./gambit/bin/gsc -v
- name: create rsc.exe
run: |
cd src
make rsc.exe GSC=$(pwd)/../gambit/bin/gsc GSI=$(pwd)/../gambit/bin/gsi
- name: upload rsc.exe
uses: actions/upload-artifact@v2
with:
name: rsc-exe
path: src/rsc.exe
py_rvm:

Check failure on line 52 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 52, Col: 5): Unexpected value 'py_rvm'
- name: Checkout the ribbit repository
uses: actions/checkout@v2
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
- name: Download rsc.exe artifact into rsc-exe
uses: actions/download-artifact@v4
with:
name: rsc-exe
path: src
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Run RVM tests
run: |
cd src; HOST=py make check RSC_COMPILER="./rsc.exe"