From 337abf408b4cec87f8168e63bf6342b9656ae826 Mon Sep 17 00:00:00 2001 From: gabjc <108655631+gabjc@users.noreply.github.com> Date: Thu, 28 Sep 2023 16:11:55 -0400 Subject: [PATCH 1/5] Update README.md for easier navigation Edited README.md to navigate to BUILDING.md in an easier and faster manner. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d53cf9077..6cce7a484 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ Installer for the latest stable releases are available [here](https://www.pj64-e Download nightly builds [here](https://www.pj64-emu.com/nightly-builds). +If you want to contribute to this project, please click [here](https://github.com/project64/project64/blob/develop/Docs/BUILDING.md) to get more infromation on how to set up a local build environment. + AppVeyor (Windows x86/x64): [![Build status](https://ci.appveyor.com/api/projects/status/sbtwyhaexslyhgx3?svg=true )](https://ci.appveyor.com/project/project64/project64/branch/develop) From a1bc34dcba64af4f683ddbd96648a15d55b46894 Mon Sep 17 00:00:00 2001 From: gabjc <108655631+gabjc@users.noreply.github.com> Date: Thu, 28 Sep 2023 16:22:02 -0400 Subject: [PATCH 2/5] Update BUILDING.md to make it a little easier for newer developers Added hyperlinks to the two required software to make it easier for newer developers. Also finding Visual Studio community can be a little difficult as the Microsoft website does not list the free, community versions. Fixes # ### Proposed changes -Added hyperlinks and changed some documentation to make it easier to navigate and contribute to the repo. - - ### Does this make breaking changes? No. ### Does this version of Project64 compile and run without issue? Yes. --- Docs/BUILDING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Docs/BUILDING.md b/Docs/BUILDING.md index abc23c545..5e7087ce4 100644 --- a/Docs/BUILDING.md +++ b/Docs/BUILDING.md @@ -7,9 +7,10 @@ If you just want to run Project64 or its development builds, use the [Readme](ht ## Required software -* Git +* [Git](https://git-scm.com/downloads) * This is a hard requirement. It is used for the build step and requires the solution be a part of the Project64 git repository on disk. -* Visual Studio 2015, 2017, or 2019 Community Edition +* [Visual Studio 2015, 2017, or 2019 Community Edition](https://learn.microsoft.com/en-us/visualstudio/releases/2019/release-notes) + * Click on the Visual Studio year you want to use from the left dropdown, and follow the download process. * During installation, select the `Programming Languages/Visual C++` option in the Visual Studio 2015 installer, or * During installation, select the `Desktop development with C++` workload in Visual Studio 2017 and 2019 or newer From b79c2d4688791fd33e17034a54cd21bca9ab6706 Mon Sep 17 00:00:00 2001 From: gabjc Date: Mon, 27 Nov 2023 13:30:49 -0500 Subject: [PATCH 3/5] esep sonarqube test --- .github/build.yml | 27 +++++++++++++++++++++++++++ sonar-project.properties | 1 + 2 files changed, 28 insertions(+) create mode 100644 .github/build.yml create mode 100644 sonar-project.properties diff --git a/.github/build.yml b/.github/build.yml new file mode 100644 index 000000000..1ecaebcd8 --- /dev/null +++ b/.github/build.yml @@ -0,0 +1,27 @@ +name: Build + +on: + push: + branches: + - main + + +jobs: + build: + name: Build + runs-on: ubuntu-latest + permissions: read-all + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - uses: sonarsource/sonarqube-scan-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + # If you wish to fail your job when the Quality Gate is red, uncomment the + # following lines. This would typically be used to fail a deployment. + # - uses: sonarsource/sonarqube-quality-gate-action@master + # timeout-minutes: 5 + # env: + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 000000000..27015f1f7 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectKey=Project64-Esep From 779894ee09d98fbd8f57b9ac99240bc219e6dd96 Mon Sep 17 00:00:00 2001 From: gabjc Date: Mon, 27 Nov 2023 13:33:43 -0500 Subject: [PATCH 4/5] created dir and moved build.yml --- .github/{ => workflows}/build.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => workflows}/build.yml (100%) diff --git a/.github/build.yml b/.github/workflows/build.yml similarity index 100% rename from .github/build.yml rename to .github/workflows/build.yml From b966b088e5bd39907dda2d7132688a9849ad611d Mon Sep 17 00:00:00 2001 From: gabjc Date: Mon, 27 Nov 2023 13:37:18 -0500 Subject: [PATCH 5/5] test --- sonar-project.properties => .github/sonar-project.properties | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sonar-project.properties => .github/sonar-project.properties (100%) diff --git a/sonar-project.properties b/.github/sonar-project.properties similarity index 100% rename from sonar-project.properties rename to .github/sonar-project.properties