mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
action: sonar cloud analysis (#1039)
* action: sonar cloud analysis * action: sonar cloud analysis * action: sonar cloud analysis * action: sonar cloud analysis * action: sonar cloud analysis * action:sonar cloud * action: sonar cloud analysis * action: sonar cloud analysis * action: sonar cloud * action: sonar cloud --------- Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
This commit is contained in:
parent
623cc83c39
commit
e2ba650a5d
|
@ -18,9 +18,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
|
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-python@v3
|
|
||||||
with:
|
|
||||||
python-version: '3.9'
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v3
|
uses: jurplel/install-qt-action@v3
|
||||||
with:
|
with:
|
||||||
|
@ -29,7 +26,6 @@ jobs:
|
||||||
|
|
||||||
#serialport linuxdeploy need serialport to work.
|
#serialport linuxdeploy need serialport to work.
|
||||||
modules: qtwebengine qtwebchannel qtpositioning qt5compat qtmultimedia qtimageformats qtspeech qtserialport
|
modules: qtwebengine qtwebchannel qtpositioning qt5compat qtmultimedia qtimageformats qtspeech qtserialport
|
||||||
setup-python: 'false'
|
|
||||||
|
|
||||||
- name: ubuntu install thirdparty dependencies
|
- name: ubuntu install thirdparty dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -47,10 +43,16 @@ jobs:
|
||||||
sudo make install
|
sudo make install
|
||||||
cd ..
|
cd ..
|
||||||
sudo apt-get install libzim-dev
|
sudo apt-get install libzim-dev
|
||||||
|
|
||||||
|
sudo apt install openjdk-17-jdk openjdk-17-jre
|
||||||
|
java -version
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
submodules: true
|
submodules: true
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 18
|
||||||
- name: Install sonar-scanner and build-wrapper
|
- name: Install sonar-scanner and build-wrapper
|
||||||
uses: SonarSource/sonarcloud-github-c-cpp@v2
|
uses: SonarSource/sonarcloud-github-c-cpp@v2
|
||||||
- name: Run build-wrapper
|
- name: Run build-wrapper
|
Loading…
Reference in a new issue