apt-get to apt #54
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: Backend Build | |
on: [push, pull_request] | |
jobs: | |
backend: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install CMake | |
run: sudo apt-get install -y cmake | |
- name: Install OCCT dependencies | |
run: sudo apt install -y libfreetype6-dev libgl2ps-dev libx11-dev libxt-dev libxmu-dev libxi-dev libgl-dev libc++-15-dev libc++abi-15-dev | |
- name: Create build directory | |
working-directory: backend | |
run: mkdir build | |
- name: Cmake Build | |
working-directory: backend/build | |
run: cmake .. | |
- name: Build Backend Project | |
working-directory: backend/build | |
run: make |