Skip to content

Commit

Permalink
refactor: consolidate build checker workflows into a single file for …
Browse files Browse the repository at this point in the history
…Windows, Ubuntu, and MacOS
  • Loading branch information
MasterLaplace committed Nov 7, 2024
1 parent bbcd3dc commit 72016b6
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 79 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/build_checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Build Checker Windows

on:
push:
branches-ignore:
- 'ga-ignore-**'
- 'gh-pages'

jobs:
build_checker_windows:
name: Build Checker Windows
runs-on: windows-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4

- name: Install dependencies
run: |
choco install cmake -y
- name: Configure and Build
run: |
mkdir build && cd build
cmake .. && cmake --build .
build_checker_ubuntu:
name: Build Checker Ubuntu
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt update
sudo apt install cmake
- name: Configure and Build
run: |
mkdir build && cd build
cmake .. && cmake --build .
build_checker_macos:
name: Build Checker MacOS
runs-on: macos-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4

- name: Install dependencies
run: |
brew install cmake
brew install ninja
- name: Configure and Build
run: |
mkdir build && cd build
cmake -G Ninja .. && ninja
27 changes: 0 additions & 27 deletions .github/workflows/build_checker_macos.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/build_checker_ubuntu.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/build_checker_windows.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/deploy_doxygen_page.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Doxygen GitHub Pages Deploy Action
on:
release:
types: [released]
pull_request:
types: [closed]
branches: [master, main]

jobs:
generate:
Expand All @@ -10,7 +11,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: "true"
submodules: true

- name: Install Doxygen
run: |
Expand Down

0 comments on commit 72016b6

Please sign in to comment.