Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Add CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
KuangjuX committed Feb 13, 2024
1 parent 37d11ee commit 40d868d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build And Test CI
on:
push:
paths-ignore:
- '**.md'
- 'LICENSE'
pull_request:
paths:
- '**.md'
- 'LICENSE'

jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:

- uses: actions/checkout@v3
with:
submodules: recursive

- name: build
run: make build CUDA=OFF

- name: test
run: make test
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ LD_FLAGS := -Lbuild/ -ltiledkernel -Wl,-rpath,build/
INC_FLAGS := -Iinclude -I3rd-party/fmt/include
MACRO_FLAGS := -DFMT_HEADER_ONLY

CUDA ?= ON

BUILD := build

.PHONY: build example
Expand Down

0 comments on commit 40d868d

Please sign in to comment.