-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/chunk-data-structure
- Loading branch information
Showing
15 changed files
with
822 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: main | ||
paths: ['**.cpp', '**.h', '**CMakeLists.txt'] | ||
pull_request: | ||
branches: main | ||
paths: ['**.cpp', '**.h', '**CMakeLists.txt'] | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Start and join the Spigot Server | ||
- name: Set up Minecraft testing environment | ||
uses: nhatdongdang/mc-env-setup@v1 | ||
|
||
# Checkout the mcpp repository for building and testing | ||
- name: Checkout mcpp | ||
uses: actions/checkout@v4 | ||
|
||
# Build files using CMake | ||
- name: Build file | ||
run: cmake -Bbuild | ||
|
||
# Run the test suite using ctest | ||
- name: Run test suite | ||
working-directory: ./build | ||
run: make test_suite && ctest -R full -V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: deploy-doxygen | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "include/**" | ||
- "Doxyfile" | ||
- "**/*.md" | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Doxygen | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y doxygen graphviz | ||
- name: Generate Documentation | ||
run: doxygen ./Doxyfile | ||
|
||
- name: Deploying to Gh-pages | ||
uses: jinxto/doxygen-env-setup@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.