Skip to content

Commit 514229a

Browse files
committed
remove
1 parent a1de68a commit 514229a

1 file changed

Lines changed: 0 additions & 88 deletions

File tree

.github/workflows/CI-unixish.yml

Lines changed: 0 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -247,94 +247,6 @@ jobs:
247247
run: |
248248
ls lib/*.cpp | xargs -n 1 -P $(nproc) g++ -fsyntax-only -std=c++0x -Ilib -Iexternals -Iexternals/picojson -Iexternals/simplecpp -Iexternals/tinyxml2 -DNONNEG
249249
250-
build_qmake:
251-
252-
strategy:
253-
matrix:
254-
# no longer build with qmake on MacOS as brew might lack pre-built Qt5 packages causing the step to run for hours
255-
os: [ubuntu-20.04, ubuntu-22.04]
256-
fail-fast: false # Prefer quick result
257-
258-
runs-on: ${{ matrix.os }}
259-
260-
steps:
261-
- uses: actions/checkout@v4
262-
263-
- name: Install missing software on ubuntu
264-
if: contains(matrix.os, 'ubuntu')
265-
run: |
266-
sudo apt-get update
267-
sudo apt-get install qtbase5-dev qttools5-dev libqt5charts5-dev qtchooser
268-
269-
# coreutils contains "nproc"
270-
- name: Install missing software on macos
271-
if: contains(matrix.os, 'macos')
272-
run: |
273-
brew install coreutils qt@5
274-
# expose qmake
275-
brew link qt@5 --force
276-
277-
- name: ccache
278-
uses: hendrikmuhs/ccache-action@v1.2
279-
with:
280-
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
281-
282-
- name: Build GUI
283-
run: |
284-
export PATH="$(brew --prefix)/opt/ccache/libexec:/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
285-
pushd gui
286-
qmake CONFIG+=debug CONFIG+=ccache HAVE_QCHART=yes
287-
make -j$(nproc)
288-
289-
# TODO: binaries are in a different location on macos
290-
- name: Build and Run GUI tests
291-
if: contains(matrix.os, 'ubuntu')
292-
run: |
293-
export PATH="$(brew --prefix)/opt/ccache/libexec:/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
294-
pushd gui/test/cppchecklibrarydata
295-
qmake CONFIG+=debug CONFIG+=ccache
296-
make -j$(nproc)
297-
./test-cppchecklibrarydata
298-
popd
299-
pushd gui/test/filelist
300-
qmake CONFIG+=debug CONFIG+=ccache
301-
make -j$(nproc)
302-
./test-filelist
303-
popd
304-
pushd gui/test/projectfile
305-
qmake CONFIG+=debug CONFIG+=ccache
306-
make -j$(nproc)
307-
./test-projectfile
308-
popd
309-
pushd gui/test/resultstree
310-
qmake CONFIG+=debug CONFIG+=ccache
311-
make -j$(nproc)
312-
export QT_QPA_PLATFORM=offscreen
313-
./test-resultstree
314-
popd
315-
pushd gui/test/translationhandler
316-
qmake CONFIG+=debug CONFIG+=ccache
317-
make -j$(nproc)
318-
# TODO: requires X session because of QApplication dependency in translationhandler.cpp
319-
#./test-translationhandler
320-
popd
321-
pushd gui/test/xmlreportv2
322-
qmake CONFIG+=debug CONFIG+=ccache
323-
make -j$(nproc)
324-
./test-xmlreportv2
325-
326-
- name: Generate Qt help file
327-
run: |
328-
pushd gui/help
329-
qhelpgenerator online-help.qhcp -o online-help.qhc
330-
331-
- name: Build triage
332-
run: |
333-
export PATH="$(brew --prefix)/opt/ccache/libexec:/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
334-
pushd tools/triage
335-
qmake CONFIG+=debug CONFIG+=ccache
336-
make -j$(nproc)
337-
338250
build:
339251

340252
strategy:

0 commit comments

Comments
 (0)