Skip to content

file path for download fix #123

file path for download fix

file path for download fix #123

Workflow file for this run

name: Backend Build
on:
push:
paths:
- backend/**
- .github/workflows/backend.yaml
pull_request:
types: [opened]
paths:
- backend/**
- .github/workflows/backend.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
backend:
runs-on: ubuntu-latest
env:
CXX: /usr/bin/c++
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 libpcl-dev libx11-dev libxi-dev libocct-* occt-misc
- name: Find compiler paths
run: |
echo "CC compiler path: $(which cc)"
echo "CXX compiler path: $(which c++)"
- 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