Skip to content

Add compile workflow for pull requests #9

Add compile workflow for pull requests

Add compile workflow for pull requests #9

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Compile Web Application
on:
pull_request:
types: [opened, synchronize, edited]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install git python3 pip tar wget -y > /dev/null
- name: Get gcc-arm-none-eabi toolchain
run: wget -nv https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
- name: Unzip gcc-arm-none-eabi toolchain
run: tar -xjf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
- name: Add custom directory to PATH (Bash)
run: echo "/gcc-arm-none-eabi-10.3-2021.10/bin" >> $GITHUB_PATH
- name: Add custom directory to PATH (Bash)
run: echo "/gcc-arm-none-eabi-10.3-2021.10/bin" >> $_PATH
- name: Install pros
run: python3 -m pip install pros-cli > /dev/null
- name: Disable Pros Monitoring
run: pros --use-analytics false
- name: PATH
run: echo $PATH
- name: GITHUB_PATH
run: echo $GITHUB_PATH
- name: kjflkja
run: ls /
- name: Compile Project
run: pros make
working-directory: /home/runner/work/2024-2025-Vex/2024-2025-Vex/