leo-ard is testing out GitHub Actions 🚀 #32
Workflow file for this run
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
name: Test | |
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
py_rvm: | |
runs-on: ubuntu-latest | |
steps: | |
- 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 -xzvf gambit-artifact/gambit-linux-x86_64.tgz -C gambit | |
- name: Make sure gsi and gsc are working | |
run: | | |
./gambit/bin/gsi -v | |
./gambit/bin/gsc -v | |
- name: Checkout the ribbit repository | |
uses: actions/checkout@v2 | |
with: | |
repository: ${{ github.repository }} | |
ref: ${{ github.ref }} | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Run RVM tests | |
run: | | |
ls -la | |
pwd | |
cd src; HOST=py make check GSC=./gambit/bin/gsc GSI=./gambit/bin/gsi | |