-
Notifications
You must be signed in to change notification settings - Fork 79
Restore GitHub Actions workflow #931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
001428a
ci: Delete old configuration files for Semgrep
utilForever 4de3b10
ci: Delete old configuration file for CodeQL analysis
utilForever bf6dd1d
ci: Update configuration file for Windows
utilForever a97bb87
build: Update library 'pybind11' to '3.0.2'
utilForever 04023f9
build: Update library 'doctest' to '2.4.12'
utilForever 93b254b
build: Update CMake version to '3.31.6'
utilForever c8224b7
ci: Correct solution name to 'RosettaStone'
utilForever 6ed9c90
ci: Add step to install Python 3.12
utilForever 0bce028
ci: Update configuration file for Linux
utilForever b8761b0
ci: Update configuration file for macOS
utilForever 1584471
ci: Update configuration file for Codecov
utilForever 4e09612
ci: Disable configuration file for SonarCloud temporarily
utilForever 94bb34a
build: Fix CMake error by changing empty command
utilForever 545d9ce
ci: Change step to upload coverage to Codecov
utilForever 8652d9e
ci: Delete step 'Switch to Xcode v15.1'
utilForever f9aa496
ci: Update command to ignore unused errors
utilForever File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,32 +1,32 @@ | ||
| name: Static Analysis | ||
| # name: Static Analysis | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| pull_request: | ||
| types: [ opened, synchronize, reopened ] | ||
| # on: | ||
| # push: | ||
| # branches: [ main ] | ||
| # pull_request: | ||
| # types: [ opened, synchronize, reopened ] | ||
utilForever marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| jobs: | ||
| build: | ||
| name: 🌞 Static Analysis - SonarCloud | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| BUILD_WRAPPER_OUT_DIR: bw-output # Directory where build-wrapper output will be placed | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
| submodules: true | ||
| - name: Install sonar-scanner and build-wrapper | ||
| uses: SonarSource/sonarcloud-github-c-cpp@v2 | ||
| - name: Configure Build | ||
| run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SONARCLOUD=ON .. | ||
| - name: Run build-wrapper | ||
| run: | | ||
| cd build && build-wrapper-linux-x86-64 --out-dir ../${{ env.BUILD_WRAPPER_OUT_DIR }} make all | ||
| - name: Run sonar-scanner | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
| run: | | ||
| sonar-scanner --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" | ||
| # jobs: | ||
| # build: | ||
| # name: 🌞 Static Analysis - SonarCloud | ||
| # runs-on: ubuntu-latest | ||
| # env: | ||
| # BUILD_WRAPPER_OUT_DIR: bw-output # Directory where build-wrapper output will be placed | ||
| # steps: | ||
| # - uses: actions/checkout@v3 | ||
| # with: | ||
| # fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
| # submodules: true | ||
| # - name: Install sonar-scanner and build-wrapper | ||
| # uses: SonarSource/sonarcloud-github-c-cpp@v2 | ||
| # - name: Configure Build | ||
| # run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SONARCLOUD=ON .. | ||
| # - name: Run build-wrapper | ||
| # run: | | ||
| # cd build && build-wrapper-linux-x86-64 --out-dir ../${{ env.BUILD_WRAPPER_OUT_DIR }} make all | ||
| # - name: Run sonar-scanner | ||
| # env: | ||
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
| # run: | | ||
| # sonar-scanner --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.