Skip to content

Commit 41351ec

Browse files
authored
Add CI (#18)
1 parent 61b0393 commit 41351ec

File tree

555 files changed

+95355
-93923
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

555 files changed

+95355
-93923
lines changed

.github/workflows/build.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Graph Compiler build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
permissions: read-all
12+
13+
jobs:
14+
build:
15+
name: Build
16+
# runs-on: [self-hosted]
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Build
23+
run: |
24+
cmake -S . -B build
25+
cd build
26+
make

.github/workflows/style.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Graph Compiler Style Check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
permissions: read-all
12+
13+
jobs:
14+
build:
15+
name: Style Check
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Check
22+
run: |
23+
clang-format --version
24+
find . -name *.cpp -or -name *.hpp | xargs clang-format --dry-run --Werror -style=file

0 commit comments

Comments
 (0)