Compare commits
2 commits
9050410879
...
2be2eac1ea
Author | SHA1 | Date | |
---|---|---|---|
2be2eac1ea | |||
0475c9ef93 |
1 changed files with 13 additions and 13 deletions
|
@ -4,18 +4,18 @@ on: [push]
|
|||
name: Build
|
||||
|
||||
jobs:
|
||||
format:
|
||||
name: Format
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Check out the code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install clang-format
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install clang-format
|
||||
- name: Check the code's formatting
|
||||
run: "clang-format --dry-run src/*.h src/*.cpp 2>&1 | tee fmt.log; [ ! -s fmt.log ]"
|
||||
#format:
|
||||
# name: Format
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - name: Check out the code
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Install clang-format
|
||||
# run: |
|
||||
# sudo apt-get update
|
||||
# sudo apt-get -y install clang-format
|
||||
# - name: Check the code's formatting
|
||||
# run: "clang-format --dry-run src/*.h src/*.cpp 2>&1 | tee fmt.log; [ ! -s fmt.log ]"
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: Install the toolchain
|
||||
run: |
|
||||
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
|
||||
run: cmake -S . -B cmake-build-debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
- name: Compile the code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue