Compare commits

...

2 commits

Author SHA1 Message Date
2be2eac1ea
Remove libglut from the image installation
Some checks failed
Build / Build (push) Failing after 33s
2025-02-23 12:52:31 -05:00
0475c9ef93
Temporarily disable format check for brevity 2025-02-23 12:52:01 -05:00

View file

@ -4,18 +4,18 @@ on: [push]
name: Build name: Build
jobs: jobs:
format: #format:
name: Format # name: Format
runs-on: ubuntu-22.04 # runs-on: ubuntu-22.04
steps: # steps:
- name: Check out the code # - name: Check out the code
uses: actions/checkout@v4 # uses: actions/checkout@v4
- name: Install clang-format # - name: Install clang-format
run: | # run: |
sudo apt-get update # sudo apt-get update
sudo apt-get -y install clang-format # sudo apt-get -y install clang-format
- name: Check the code's formatting # - name: Check the code's formatting
run: "clang-format --dry-run src/*.h src/*.cpp 2>&1 | tee fmt.log; [ ! -s fmt.log ]" # run: "clang-format --dry-run src/*.h src/*.cpp 2>&1 | tee fmt.log; [ ! -s fmt.log ]"
build: build:
name: Build name: Build
@ -26,7 +26,7 @@ jobs:
- name: Install the toolchain - name: Install the toolchain
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get -y install cmake libglew-dev libglm-dev libglut-dev sudo apt-get -y install cmake libglew-dev libglm-dev
- name: Set up the build environment - name: Set up the build environment
run: cmake -S . -B cmake-build-debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON run: cmake -S . -B cmake-build-debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: Compile the code - name: Compile the code