This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
Update README.md. #156
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: Linux Build | |
on: | |
push: | |
branches: master | |
pull_request: | |
branches: '*' | |
workflow_dispatch: | |
jobs: | |
build-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
id: cache-deps | |
with: | |
path: external | |
key: ${{ runner.os }}-deps-${{ hashFiles('/home/runner/work/Cascade/Cascade/scripts/install_deps.sh') }} | |
- name: Build dependencies | |
if: steps.cache-deps.outputs.cache-hit != 'true' | |
run: | | |
cd scripts | |
sh install-deps.sh | |
cd .. | |
- name: Install packages | |
run: | | |
sudo apt update | |
sudo apt install -y libopenimageio-dev libgtest-dev libtbb-dev qtcreator build-essential qtbase5-dev qt5-qmake qtbase5-dev-tools libopenexr-dev cmake libglew-dev freeglut3-dev python3-distutils | |
- name: Build Cascade | |
run: | | |
qmake | |
make -j4 |