Skip to content

Commit

Permalink
Restructure Pipelines and fix build issues (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverpechey authored Feb 3, 2023
1 parent 3d6bbac commit ddfa479
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 27 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: clang

on:
push:
branches: [ master ]

jobs:
clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: DoozyX/clang-format-lint-action@v0.10
with:
style: file
source: 'source plugins'
clangFormatVersion: 11
inplace: True
- uses: EndBug/add-and-commit@v9
with:
author_name: Clang Robot
author_email: clang-robot@the-starport.net
message: 'clang-format changes'
fetch: 'false'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: docs

on:
push:
branches: [ master ]

jobs:
deploy:
runs-on: ubuntu-20.04
Expand Down
25 changes: 3 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
name: build

on:
push:
branches: [ master ]

name: build

jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: DoozyX/clang-format-lint-action@v0.10
with:
style: file
source: 'source plugins'
clangFormatVersion: 11
inplace: True
- uses: EndBug/add-and-commit@v7
with:
author_name: Clang Robot
author_email: clang-robot@the-starport.net
message: 'clang-format changes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml → .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This is a basic workflow to help you get started with Actions
# This runs SonarCloud to detect code issues.

name: CI
name: SonarCloud

on:
pull_request:
on:
push:
branches: [ master ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sonar.projectVersion=4.0

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=.
sonar.exclusions = vcpkg/**, vcpkg_installed/**, FLHookSDK/**
sonar.exclusions = vcpkg/**, vcpkg_installed/**, FLHookSDK/**, include/ext/**, include/SQLiteCpp/**

# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8

0 comments on commit ddfa479

Please sign in to comment.