chore: remove unused DESTDIR and superfluous test cmd

This commit is contained in:
Jonas Strassel 2021-01-25 15:54:40 +01:00
parent 3cc50d8ac4
commit dbd8f361d1

View File

@ -14,9 +14,7 @@ on:
env: env:
BUILDDIR: /build BUILDDIR: /build
SRCDIR: ${{ github.workspace }} SRCDIR: ${{ github.workspace }}
DESTDIR: /INSTALL_ROOT
CMAKE_ARGS: | CMAKE_ARGS: |
-DCMAKE_BUILD_TYPE=Release
-DWEBVIEW_FORCE_WEBKIT=1 -DWEBVIEW_FORCE_WEBKIT=1
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
-DWITH_PYTHONQT=OFF" -DWITH_PYTHONQT=OFF"
@ -27,10 +25,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: docker://kdeneon/plasma:user image: docker://kdeneon/plasma:user
options: --tmpfs /build:rw,size=512M --user 0:0 options: --tmpfs /build:rw --user 0:0
steps: steps:
- -
name: prepare name: prepare env
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get -y install git-core sudo apt-get -y install git-core
@ -69,26 +67,21 @@ jobs:
qttools5-dev \ qttools5-dev \
qttools5-dev-tools qttools5-dev-tools
- -
name: check environment name: prepare build
run: | run: |
test -f $SRCDIR/CMakeLists.txt || { echo "! Missing $SRCDIR/CMakeLists.txt" ; exit 1 ; }
test -n "$BUILDDIR" || { echo "! \$BUILDDIR not set" ; exit 1 ; } test -n "$BUILDDIR" || { echo "! \$BUILDDIR not set" ; exit 1 ; }
test -n "$SRCDIR" || { echo "! \$SRCDIR not set" ; exit 1 ; } mkdir -p $BUILDDIR
mkdir -p $BUILDDIR $SRCDIR $DESTDIR test -f $SRCDIR/CMakeLists.txt || { echo "! Missing $SRCDIR/CMakeLists.txt" ; exit 1 ; }
- -
name: cmake name: cmake
working-directory: ${{ env.BUILDDIR }}
run: cmake $CMAKE_ARGS $SRCDIR run: cmake $CMAKE_ARGS $SRCDIR
- -
name: make name: make
working-directory: ${{ env.BUILDDIR }}
run: make -j2 VERBOSE=1 run: make -j2 VERBOSE=1
-
name: build results
run: ls -la $( find "$BUILDDIR" -type f -name '*.so' )
- -
name: install name: install
id: install working-directory: ${{ env.BUILDDIR }}
run: make install VERBOSE=1 run: |
- make install VERBOSE=1
name: debug install
if: ${{ failure() && steps.install.outcome == 'failure' }}
run: ls -la $( find "$DESTDIR" -type f -name '*.so' )