Add CI for builds #1

Manually merged
MichaelBradley merged 15 commits from actions into main 2025-02-23 13:32:04 -05:00
Showing only changes of commit 0475c9ef93 - Show all commits

View file

@ -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