Skip to content

Moved camera matrix access to internal namespace #226

Moved camera matrix access to internal namespace

Moved camera matrix access to internal namespace #226

# This workflow will thoroughly test the build system
name: Complete build system test
on:
push:
branches: '**'
pull_request:
branches: '**'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends git make pkg-config build-essential
sudo apt-get install --no-install-recommends g++ libgomp1 clang libomp-dev
sudo apt-get install --no-install-recommends inkscape optipng
sudo apt-get install --no-install-recommends libglm-dev libglfw3-dev libglew-dev libstb-dev libassimp-dev
- name: Test icon generation target
run: |
make icons
- name: (g++) Test shared library build target
run: |
CXX="g++" make library -j$(nproc)
- name: (g++) Test demo build target
run: |
CXX="g++" make build -j$(nproc)
- name: (g++) Test debug demo build target
run: |
CXX="g++" make debug -j$(nproc)
- name: (g++) Check built objects are present
run: |
ls build/demo build/libammonite.so
- name: Clean build area
run: |
make clean
- name: (clang++) Test shared library build target
run: |
CXX="clang++" make library -j$(nproc)
- name: (clang++) Test demo build target
run: |
CXX="clang++" make build -j$(nproc)
- name: (clang++) Test debug demo build target
run: |
CXX="clang++" make debug -j$(nproc)
- name: (clang++) Check built objects are present
run: |
ls build/demo build/libammonite.so
- name: Test library install target
run: |
sudo make install
- name: Test headers install target
run: |
sudo make headers