mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
chore(CI): rename CI to easier determain which is which (#17879)
* chore(CI): rename CI to easier determain which is which * small change * Update codestyle.yml * codestyle checks changes * test to see if this works * revert this, just to check that CI works * Revert "revert this, just to check that CI works" This reverts commit ad03c6bdd9bb33faf8ee1c8d1571090bd4ced531. * Update core_modules_build.yml
This commit is contained in:
23
.github/workflows/codestyle.yml
vendored
23
.github/workflows/codestyle.yml
vendored
@@ -1,16 +1,27 @@
|
||||
name: Codestyle
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- src/**
|
||||
- "!README.md"
|
||||
- "!docs/**"
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-20.04]
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
name: C++
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check core codestyle
|
||||
- name: AzerothCore codestyle
|
||||
run: source ./apps/ci/ci-codestyle.sh
|
||||
- name: C++ Advanced
|
||||
run: |
|
||||
sudo apt update -y
|
||||
sudo apt install -y cppcheck
|
||||
cppcheck --force --inline-suppr --suppressions-list=./.suppress.cppcheck src/ --output-file=report.txt
|
||||
|
||||
if [ -s report.txt ]; then # if file is not empty
|
||||
cat report.txt
|
||||
exit 1 # let github action fails
|
||||
fi
|
||||
|
||||
2
.github/workflows/core-build-nopch.yml
vendored
2
.github/workflows/core-build-nopch.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
- os: ubuntu-20.04
|
||||
compiler: gcc10
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: ${{ matrix.os }}-${{ matrix.compiler }}
|
||||
name: ${{ matrix.os }}-${{ matrix.compiler }}-nopch
|
||||
env:
|
||||
COMPILER: ${{ matrix.compiler }}
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||
|
||||
2
.github/workflows/core-build-pch.yml
vendored
2
.github/workflows/core-build-pch.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
- os: ubuntu-20.04
|
||||
compiler: clang12
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: ${{ matrix.os }}-${{ matrix.compiler }}
|
||||
name: ${{ matrix.os }}-${{ matrix.compiler }}-pch
|
||||
env:
|
||||
COMPILER: ${{ matrix.compiler }}
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||
|
||||
2
.github/workflows/core_modules_build.yml
vendored
2
.github/workflows/core_modules_build.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: core-modules-build
|
||||
name: nopch-build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
27
.github/workflows/cpp-check.yml
vendored
27
.github/workflows/cpp-check.yml
vendored
@@ -1,27 +0,0 @@
|
||||
name: cpp-check
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- src/**
|
||||
- "!README.md"
|
||||
- "!docs/**"
|
||||
|
||||
jobs:
|
||||
cpp-check:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
runs-on: ubuntu-22.04
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||
name: cpp check
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: cpp check
|
||||
run: |
|
||||
sudo apt update -y
|
||||
sudo apt install -y cppcheck
|
||||
cppcheck --force --inline-suppr --suppressions-list=./.suppress.cppcheck src/ --output-file=report.txt
|
||||
|
||||
if [ -s report.txt ]; then # if file is not empty
|
||||
cat report.txt
|
||||
exit 1 # let github action fails
|
||||
fi
|
||||
8
.github/workflows/sql-codestyle.yml
vendored
8
.github/workflows/sql-codestyle.yml
vendored
@@ -1,9 +1,15 @@
|
||||
name: SQL Codestyle
|
||||
name: Codestyle
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- data/**
|
||||
- "!README.md"
|
||||
- "!docs/**"
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
name: SQL
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user