-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from G-Epitech/1-init-project
feat: init project
- Loading branch information
Showing
12 changed files
with
247 additions
and
0 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,44 @@ | ||
name: Bug Report | ||
description: Report a bug | ||
labels: ["bug"] | ||
|
||
body: | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
Please fill out the sections below to help everyone identify and fix the bug | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe your issue | ||
placeholder: When I use a file this happens... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: steps | ||
attributes: | ||
label: Steps to reproduce | ||
placeholder: | | ||
1. Send this file | ||
2. Set the covergance... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: What was the expected result? | ||
placeholder: I expected it not to crash | ||
|
||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Put here any screenshots or videos (optional) | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for reporting this issue! |
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,37 @@ | ||
name: New feature | ||
description: Suggest or request a new feature | ||
labels: ["enhancement"] | ||
|
||
body: | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
Please fill out the sections below to properly describe the new feature you are suggesting. | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the feature | ||
placeholder: Describe the feature that you want to add to this project | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: example | ||
attributes: | ||
label: Example Feature Purpose | ||
placeholder: | | ||
Please add a concrete example related to the project to prove the relevance of your feature. | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
placeholder: | | ||
Add any other context or screenshots about the feature request here. | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for your suggestion! Let's see together if it can be implemented. |
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,32 @@ | ||
name: Tests | ||
description: Add, update or delete tests | ||
labels: ["tests"] | ||
|
||
body: | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe why you need this Issue | ||
placeholder: I need it because my project reacts strangely to instructions and I need to run some tests to find out the cause of my problem.... | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: type | ||
attributes: | ||
label: What kind of tests will you be doing? | ||
options: | ||
- "Unit Tests" | ||
- "Functional Tests" | ||
- "Unit Tests and Functional Tests" | ||
|
||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Put here any additionnal content like screenshots or videos (optional) | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for reporting this issue! |
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,24 @@ | ||
## Related Tickets & Documents | ||
|
||
- Related Issue # | ||
- Closes (optional) # | ||
|
||
## What type of PR is this? (check all applicable) | ||
|
||
- [ ] Refactor | ||
- [ ] Feature | ||
- [ ] Bug Fix | ||
- [ ] Optimization | ||
- [ ] Documentation Update | ||
|
||
## Changes made | ||
|
||
_Please replace this line with a description of the changes in this PR. Include | ||
a summary of the change and relevant motivation and context._ | ||
|
||
## Added/updated tests? | ||
|
||
- [ ] Yes | ||
- [ ] No, and this is why: _please replace this line with details on why tests | ||
have not been included_ | ||
- [ ] I need help with writing tests |
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,23 @@ | ||
name: "CD: Deployement" | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
repository_mirroring: | ||
name: "🚀 Repository mirroring" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "📥 Checkout repository" | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "🚀 Epitech mirroring" | ||
uses: pixta-dev/repository-mirroring-action@v1 | ||
with: | ||
target_repo_url: ${{ secrets.DEPLOYMENT_URL }} | ||
ssh_private_key: ${{ secrets.DEPLOYEMENT_SSH_KEY }} |
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,15 @@ | ||
## CMake | ||
build | ||
|
||
## MacOS | ||
.DS_Store | ||
|
||
## IDEs | ||
.vscode | ||
.idea | ||
|
||
## Binary | ||
arcade | ||
*.gcno | ||
*.gcda | ||
*.o |
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,7 @@ | ||
cmake_minimum_required(VERSION 3.27) | ||
project(arcade) | ||
|
||
set(CMAKE_CXX_STANDARD 20) | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20") | ||
|
||
add_subdirectory(src) |
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,23 @@ | ||
pipeline { | ||
agent { | ||
docker { | ||
image 'epitechcontent/epitest-docker' | ||
} | ||
} | ||
|
||
stages { | ||
stage('Project compilation') { | ||
steps { | ||
sh 'make clean' | ||
sh 'make' | ||
sh 'make fclean' | ||
} | ||
} | ||
|
||
stage('Project tests') { | ||
steps { | ||
sh 'make tests_run' | ||
} | ||
} | ||
} | ||
} |
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,28 @@ | ||
## | ||
## EPITECH PROJECT, 2024 | ||
## arcade | ||
## File description: | ||
## Makefile | ||
## | ||
|
||
NAME = arcade | ||
BUILD_PATH = build | ||
|
||
all: | ||
@cmake -S . -B build | ||
cmake --build $(BUILD_PATH) | ||
@cp $(BUILD_PATH)/src/$(NAME) . | ||
|
||
clean: | ||
@rm -rf $(BUILD_PATH) | ||
|
||
fclean: | ||
@rm -f $(NAME) | ||
|
||
re: fclean all | ||
|
||
tests_run: | ||
echo "pass" | ||
|
||
.PHONY: all clean fclean re tests_run | ||
DEFAULT_GOAL := all |
Empty file.
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,3 @@ | ||
add_executable(arcade | ||
main.cpp | ||
) |
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,11 @@ | ||
/* | ||
** EPITECH PROJECT, 2024 | ||
** arcade | ||
** File description: | ||
** main | ||
*/ | ||
|
||
int main(void) | ||
{ | ||
return 0; | ||
} |