Update CI
Some checks failed
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=OFF (push) Failing after 1m5s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=OFF (push) Failing after 6s
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=ON (push) Failing after 5s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=ON (push) Failing after 5s
CMake / ubuntu-latest - shared=ON, pthread=ON, posix=ON (push) Has been cancelled
CMake / ubuntu-latest - shared=OFF, pthread=ON, posix=ON (push) Has been cancelled

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-07-26 00:46:46 +03:00
parent 8844317936
commit 258353b836

View File

@@ -16,21 +16,24 @@ jobs:
shared: ["ON", "OFF"]
pthread_support: ["ON", "OFF"]
posix_support: ["ON", "OFF"]
exclude:
- posix_support: "OFF"
pthread_support: "ON"
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - shared=${{ matrix.shared }}
name: ${{ matrix.os }} - shared=${{ matrix.shared }}, pthread=${{ matrix.pthread_support }}, posix=${{ matrix.posix_support }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake build-essential
- name: Configure
run: |
cmake -Bbuild -S . \
-DDCFG_BUILD_SHARED=${{ matrix.shared }} \
-DDCFG_PTHREAD_SUPPORT=${{ matrix.pthread_support }} \
-DDCFG_POSIX_SUPPORT=${{ matrix.posix_support }}
- name: Build
run: |
cmake --build build
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake build-essential
- name: Configure
run: |
cmake -Bbuild -S . \
-DDCFG_BUILD_SHARED=${{ matrix.shared }} \
-DDCFG_PTHREAD_SUPPORT=${{ matrix.pthread_support }} \
-DDCFG_POSIX_SUPPORT=${{ matrix.posix_support }}
- name: Build
run: |
cmake --build build