Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbean-bremen committed Dec 20, 2023
1 parent d65d839 commit ad26c92
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build
on:
push:
branches:
- master
# - master
pull_request:

defaults:
Expand All @@ -12,6 +12,7 @@ defaults:

jobs:
ubuntu:
if: False
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -117,9 +118,12 @@ jobs:
which python 2>/dev/null && export PYTHON_VERSION_SUFFIX= || export PYTHON_VERSION_SUFFIX=3
uname -a; gcc --version | grep "gcc"; python${PYTHON_VERSION_SUFFIX} --version; qmake-qt5 --version
echo ============================
export PYTHON_VERSION_SHORT=$(python${PYTHON_VERSION_SUFFIX} --version | cut -d " " -f 2 | cut -d "." -f1,2)
export PYTHON_DIR=$(which python\${PYTHON_VERSION_SUFFIX} | xargs dirname | xargs dirname)
echo PYTHON_VERSION_SHORT=${PYTHON_VERSION_SHORT}
echo PYTHON_DIR=${PYTHON_DIR}
qmake-qt5 -r PythonQt.pro CONFIG+=${{ matrix.configuration }} \
PYTHON_VERSION=$(python${PYTHON_VERSION_SUFFIX} --version | cut -d " " -f 2 | cut -d "." -f1,2) \
PYTHON_DIR=$(which python${PYTHON_VERSION_SUFFIX} | xargs dirname | xargs dirname)
"PYTHON_VERSION=\${PYTHON_VERSION_SHORT}" "PYTHON_DIR=\${PYTHON_DIR}"
make -j $(nproc) && make check TESTARGS="-platform offscreen"
- name: Generate Wrappers
Expand All @@ -137,6 +141,7 @@ jobs:
path: generated_cpp

macOS:
if: False
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -222,6 +227,7 @@ jobs:
path: generated_cpp

windows:
if: False
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit ad26c92

Please sign in to comment.