diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b04532f..96528cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,30 +1,10 @@ name: Build on: - push: - branches: [ master ] - paths-ignore: - - '**.md' - - '**.rst' - - 'LICENSE' - - 'data/**' - - '**/release-*.yml' - tags-ignore: - - "*.*.*" - pull_request: - branches: [ master ] - paths-ignore: - - '**.md' - - '**.rst' - - 'LICENSE' - - '**/release-*.yml' - tags-ignore: - - "*.*.*" + workflow_call: workflow_dispatch: jobs: - format: - uses: ./.github/workflows/clang-format.yml build: name: ${{ matrix.config.os }}-${{ matrix.config.preset }} runs-on: ${{ matrix.config.os }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..f800d6c --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,29 @@ +name: Tests + +on: + push: + branches: [ master ] + paths-ignore: + - '**.md' + - '**.rst' + - 'LICENSE' + - 'data/**' + - '**/release-*.yml' + tags-ignore: + - "*.*.*" + pull_request: + branches: [ master ] + paths-ignore: + - '**.md' + - '**.rst' + - 'LICENSE' + - '**/release-*.yml' + tags-ignore: + - "*.*.*" + workflow_dispatch: + +jobs: + format: + uses: ./.github/workflows/clang-format.yml + build: + uses: ./.github/workflows/build.yml