Skip to content

Commit

Permalink
Test CI with Qt spec
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-schulz committed Aug 8, 2024
1 parent 3072bbb commit ee2c366
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ jobs:

matrix:
platform:
- { name: Ubuntu 20.04 GCC (x86_64), os: ubuntu-20.04, cpp_compiler: g++ }
- { name: Ubuntu 20.04 Clang (x86_64), os: ubuntu-20.04, cpp_compiler: clang++ }
- { name: Ubuntu 22.04 GCC (x86_64), os: ubuntu-22.04, cpp_compiler: g++ }
- { name: Ubuntu 22.04 Clang (x86_64), os: ubuntu-22.04, cpp_compiler: clang++ }
- { name: Ubuntu 24.04 GCC (x86_64), os: ubuntu-24.04, cpp_compiler: g++ }
- { name: Ubuntu 24.04 Clang (x86_64), os: ubuntu-24.04, cpp_compiler: clang++ }
- { name: macOS 12 (x86_64), os: macos-12, cpp_compiler: clang++ }
- { name: macOS 13 (x86_64), os: macos-13, cpp_compiler: clang++ }
- { name: macOS 14 (arm64), os: macos-14, cpp_compiler: clang++ }
- { name: Ubuntu 20.04 GCC (x86_64), os: ubuntu-20.04, cpp_compiler: g++, qmake_spec: linux-g++ }
- { name: Ubuntu 20.04 Clang (x86_64), os: ubuntu-20.04, cpp_compiler: clang++, qmake_spec: linux-clang }
- { name: Ubuntu 22.04 GCC (x86_64), os: ubuntu-22.04, cpp_compiler: g++, qmake_spec: linux-g++ }
- { name: Ubuntu 22.04 Clang (x86_64), os: ubuntu-22.04, cpp_compiler: clang++, qmake_spec: linux-clang }
- { name: Ubuntu 24.04 GCC (x86_64), os: ubuntu-24.04, cpp_compiler: g++, qmake_spec: linux-g++ }
- { name: Ubuntu 24.04 Clang (x86_64), os: ubuntu-24.04, cpp_compiler: clang++, qmake_spec: linux-clang }
- { name: macOS 12 (x86_64), os: macos-12, cpp_compiler: clang++, qmake_spec: macx-clang }
- { name: macOS 13 (x86_64), os: macos-13, cpp_compiler: clang++, qmake_spec: macx-clang }
- { name: macOS 14 (arm64), os: macos-14, cpp_compiler: clang++, qmake_spec: macx-clang }

env:
CXX: ${{ matrix.platform.cpp_compiler }}
QMAKE_SPEC: ${{ matrix.platform.qmake_spec }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -92,13 +93,9 @@ jobs:
echo "::endgroup"::
echo "::group::Build UMVE"
qmake --version
qmake -v
pushd apps/umve
if [ "${CXX}" = "clang++" ]; then
echo "QMAKE_CXX = clang++" > umve.priv.pro
echo "QMAKE_LINK = clang++" >> umve.priv.pro
fi
qmake
qmake ${QMAKE_SPEC}
make -j${NUM_CPU_CORES}
popd
echo "::endgroup::"
Expand Down

0 comments on commit ee2c366

Please sign in to comment.