Skip to content

Commit

Permalink
use presets in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotacg committed Jun 17, 2024
1 parent 5bb8941 commit 994be9b
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- script: |
ctest --preset default
displayName: 'Unit Tests'
- job: ubuntu22
timeoutInMinutes: 120
pool:
Expand Down Expand Up @@ -80,27 +81,20 @@ jobs:
wget https://raw.githubusercontent.com/microsoft/msquic/main/src/inc/quic_sal_stub.h
sudo mv msquic.h msquic_posix.h quic_sal_stub.h /usr/include/
displayName: 'Dependencies'
- script: |
mkdir build
cmake --version
cd build
cmake -G "Ninja" -DCMAKE_SUPPRESS_REGENERATION=ON \
-DWITH_STATIC=ON -DWITH_NEL_TESTS=ON -DWITH_NEL_SAMPLES=ON \
-DWITH_MSQUIC=ON \
-DWITH_LUA51=OFF -DWITH_LUA52=ON \
-DWITH_RYZOM=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_CLIENT=ON -DWITH_RYZOM_TOOLS=ON \
-DWITH_NEL_TOOLS=ON -DWITH_NELNS=ON -DWITH_NELNS_LOGIN_SYSTEM=ON -DWITH_NELNS_SERVER=ON \
-DWITH_QT5=ON -DWITH_LIBGSF=ON ..
cat CMakeCache.txt
- script: >
cmake --preset linux-default
-DCMAKE_SUPPRESS_REGENERATION=ON
-DWITH_MSQUIC=ON
displayName: 'CMake'
- script: |
cd build
ninja -j`nproc`
cat build/CMakeCache.txt
- script: |
cmake --build --preset release
displayName: 'Make'
- script: |
cd nel/tools/nel_unit_test
../../../build/bin/nel_unit_test
ctest --preset default
displayName: 'Unit Tests'
- job: client
strategy:
matrix:
Expand Down

0 comments on commit 994be9b

Please sign in to comment.