fix: update CI configuration to include environment variables for include and library paths
Some checks failed
C/C++ CI / build (push) Failing after 18s
C/C++ CI / test (push) Has been skipped
C/C++ CI / code-quality (push) Failing after 43s
C/C++ CI / security-scan (push) Failing after 22s
CI Pipeline / build (push) Failing after 20s
CI Pipeline / test (push) Has been skipped
CI Pipeline / security-scan (push) Failing after 12s
CI Pipeline / code-quality (push) Failing after 31s
CI Pipeline / docker-build (push) Failing after 59s

This commit is contained in:
2025-12-20 23:16:19 +01:00
parent 71a397f0d6
commit 24b361f5a6
2 changed files with 23 additions and 6 deletions

View File

@@ -12,10 +12,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
C_INCLUDE_PATH: /usr/include:/usr/local/include
LIBRARY_PATH: /usr/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu
steps:
- uses: actions/checkout@v4
- name: Build project
run: make clean && make || make
run: make clean && make INCLUDES="-I/usr/include -I/usr/local/include" || make INCLUDES="-I/usr/include -I/usr/local/include"
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
@@ -25,11 +28,14 @@ jobs:
test:
runs-on: ubuntu-latest
needs: build
env:
C_INCLUDE_PATH: /usr/include:/usr/local/include
LIBRARY_PATH: /usr/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu
steps:
- uses: actions/checkout@v4
- name: Build and run tests
run: |
make clean && make
make clean && make INCLUDES="-I/usr/include -I/usr/local/include"
# Verify the binary was created
test -f server && echo "✓ Server binary built successfully"
# Basic smoke tests - verify it's a valid ELF executable