Skip to content

Commit b2733ab

Browse files
committed
TEMP
1 parent f1a5c14 commit b2733ab

File tree

2 files changed

+9
-60
lines changed

2 files changed

+9
-60
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -54,61 +54,10 @@ jobs:
5454
failOnError: false
5555
warnIfNotFound: false
5656

57-
checks:
58-
runs-on: ubuntu-22.04
59-
needs: preBuild
60-
61-
steps:
62-
- name: Checkout repository
63-
uses: actions/checkout@v4
64-
with:
65-
fetch-depth: '0'
66-
- name: Install gitlint
67-
run: |
68-
pip install gitlint==0.19.1
69-
- name: Run gitlint
70-
run: gitlint --commits d789f61044e63e1a00d8e9f1d4d49c8d9ffc42a9..HEAD
71-
- name: Install REUSE
72-
run: |
73-
pip install reuse==4.0.3
74-
- name: Run REUSE lint
75-
run: reuse lint
76-
- name: Run clang-format
77-
run: |
78-
scripts/run_clang_format.py
79-
- uses: Trass3r/setup-cpp@1b63900ecf3f0b7c60ee53aa7be122f2c4fe7a2c
80-
- name: Run cppcheck
81-
run: |
82-
sudo apt-get -y install cppcheck
83-
cppcheck --template=gcc --inline-suppr --std=c++17 --enable=style,unusedFunction \
84-
-i src/plugins/weatherdata/gfs/g2clib -DCPPCHECK --force --suppressions-list=cppcheck.supp \
85-
--library=qt.cfg --library=posix.cfg .
86-
- name: Install Qt docs
87-
if: ${{ env.do_doxygen == 'true' }}
88-
uses: jurplel/install-qt-action@v4
89-
with:
90-
version: ${{ env.qt_version }}
91-
no-qt-binaries: true
92-
documentation: true
93-
cache: true
94-
- name: Run doxygen
95-
if: ${{ env.do_doxygen == 'true' }}
96-
working-directory: docs
97-
run: |
98-
sudo apt-get -y install doxygen graphviz
99-
doxygen Doxyfile
100-
env:
101-
DOXY_SRC_ROOT: ..
102-
DOXY_TAGFILES: ${{ runner.workspace }}/Qt/Docs/Qt-${{ env.qt_version }}
103-
- name: Upload doxygen
104-
if: ${{ env.do_doxygen == 'true' }}
105-
uses: actions/upload-pages-artifact@v3
106-
with:
107-
path: docs/html/
10857

10958
buildLinux:
11059
runs-on: ubuntu-22.04
111-
needs: [preBuild, checks]
60+
needs: [preBuild]
11261
env:
11362
BACKTRACE_SYMBOL_TOKEN: ${{ secrets.BACKTRACE_SYMBOL_TOKEN }}
11463
BACKTRACE_MINIDUMP_TOKEN: ${{ secrets.BACKTRACE_MINIDUMP_TOKEN }}

scripts/build.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def _build(self):
235235
# it seems that ninja does not automatically spawn the correct number of jobs on Windows
236236
subprocess.check_call(["cmake", "--build", ".", "-j4"], env=dict(os.environ))
237237
else:
238-
subprocess.check_call(["cmake", "--build", "."], env=dict(os.environ))
238+
subprocess.check_call(["cmake", "--build", ".", "--target", "misc"], env=dict(os.environ))
239239

240240
def _get_swift_build_path(self) -> str:
241241
return self.__build_path
@@ -437,13 +437,13 @@ def main():
437437

438438
builder.prepare()
439439
builder.build()
440-
builder.bundle_csl2xsb()
441-
builder.checks()
442-
builder.install()
443-
builder.publish()
444-
if args.wordsize == '64':
445-
builder.package_xswiftbus()
446-
builder.symbols(args.upload_symbols)
440+
#builder.bundle_csl2xsb()
441+
#builder.checks()
442+
#builder.install()
443+
#builder.publish()
444+
#if args.wordsize == '64':
445+
# builder.package_xswiftbus()
446+
#builder.symbols(args.upload_symbols)
447447

448448

449449
# run main if run directly

0 commit comments

Comments
 (0)