Skip to content

Commit aff388b

Browse files
committed
github actions...maybe
1 parent 190ea76 commit aff388b

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: main
2+
on:
3+
pull_request:
4+
branches: [ main ]
5+
jobs:
6+
pre_commit_run:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-python@v5
11+
- uses: pre-commit/action@v3.0.0
12+
unit_tests:
13+
runs-on: ubuntu-24.04
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: sudo apt-get install clang-19 -y
17+
- run: cmake -S . -B build && cmake --build build
18+
- run: ./build/willow_test

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cmake_minimum_required(VERSION 3.30)
2+
set(CMAKE_CXX_COMPILER "/usr/bin/clang++")
23
project(willow-test LANGUAGES CXX)
34

45
set(CMAKE_CXX_STANDARD 23)

0 commit comments

Comments
 (0)