install dev tools #80
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: Linux version | |
run: uname -r | |
- name: Apt update | |
run: sudo apt-get update | |
- name: Install CMake | |
run: sudo apt-get install -y cmake | |
- name: Install OpenCASCADE | |
run: sudo apt-get install libtbb-dev libocct-* occt-misc | |
- 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 |