Update build.yml #7
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: Build VEX C++ Project | |
on: | |
push: | |
branches: | |
- main # Adjust the branch name as needed | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install g++ | |
run: sudo apt-get install -y g++ | |
- name: Create project directory | |
run: mkdir -p ~/6MDrivecode | |
- name: Change to project directory | |
run: cd ~/6MDrivecode | |
- name: Build VEX C++ project | |
run: | | |
g++ src/*.cpp -o compthing # Compile all .cpp files in src directory |