mirror of https://github.com/koide3/small_gicp.git
CI for license check (#78)
* license check CI * fix ci * check both headers and source * add SPDX identifiers * trigger on only master
This commit is contained in:
parent
45b0b29af3
commit
765da6f68d
|
|
@ -0,0 +1,21 @@
|
|||
name: license
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths-ignore: '**.md'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths-ignore: '**.md'
|
||||
|
||||
jobs:
|
||||
license_check:
|
||||
name: License check
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Check license
|
||||
run: |
|
||||
find include/small_gicp src/small_gicp -type f | xargs -I filename bash -c 'if ! grep -q SPDX-License-Identifier filename; then echo filename : lisence not found; exit 1; fi'
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2024 Kenji Koide
|
||||
// SPDX-License-Identifier: MIT
|
||||
#pragma once
|
||||
|
||||
#include <queue>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2024 Kenji Koide
|
||||
// SPDX-License-Identifier: MIT
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2024 Kenji Koide
|
||||
// SPDX-License-Identifier: MIT
|
||||
#pragma once
|
||||
|
||||
#include <Eigen/Core>
|
||||
|
|
|
|||
Loading…
Reference in New Issue