Skip to content

Commit

Permalink
add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sksat committed Feb 8, 2024
1 parent c84cecb commit 3b1dd18
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test action-clang-tidy workflow

on:
push:
branches: [ main ]
pull_request:

jobs:
test:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: CMake
env:
CC: clang
working-directory: test
run: cmake -B ./build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON

- uses: ./
with:
workdir: ./test/build

0 comments on commit 3b1dd18

Please sign in to comment.