Merge pull request #188 from CMU-Graphics/spring2025 #252
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: Ubuntu | |
on: | |
push: | |
workflow_dispatch: | |
env: | |
NEST_LIBS_VERSION: v0.10 | |
jobs: | |
build-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: update | |
run: sudo apt update | |
- name: deps | |
run: sudo apt install pkg-config libgtk-3-dev libsdl2-dev | |
- name: nest | |
shell: bash | |
run: | | |
wget /~https://github.com/15-466/nest-libs/releases/download/${NEST_LIBS_VERSION}/nest-libs-linux-${NEST_LIBS_VERSION}.tar.gz -Onest-libs.tar.gz | |
tar xfz nest-libs.tar.gz | |
- name: maek | |
run: node Maekfile.js | |
- name: run tests | |
run: ./Scotty3D --run-tests a1 | |
- name: student version | |
run: node export_student_version.js | |
- name: maek student version | |
run: | | |
cd Scotty3D-student | |
ln -s ../nest-libs | |
node Maekfile.js |