Skip to content

Commit 6e7f4e9

Browse files
committed
Installing multi-server framework test env dependencies and building server from source before running a test.
1 parent 3d32c38 commit 6e7f4e9

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/ci-multi-server-tests.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,12 @@ jobs:
151151
steps:
152152

153153
# Need git installed for checkout to behave normally
154-
#- name: Install checkout prerequisites
155-
# run: |
156-
# sudo apt-get update
157-
# sudo apt-get install -y --no-install-recommends git git-lfs ca-certificates
154+
- name: Install multi-server framework test environment dependencies
155+
run: |
156+
sudo apt-get update
157+
sudo apt-get install -y build-essential
158+
sudo apt-get install -y --no-install-recommends git git-lfs ca-certificates
159+
make --version
158160
159161
# Checkout, but defer pulling LFS objects until we've restored the cache
160162
- uses: actions/checkout@v4
@@ -175,6 +177,14 @@ jobs:
175177
# Display all docker images for debugging purposes
176178
docker images --all
177179
180+
- name: Configure and build freeradius-server from src
181+
shell: bash
182+
run: |
183+
# The multi-server test framework requires the availability of the $BUILD_DIR, hence why
184+
# the following is needed before running multi-server tests.
185+
./configure
186+
make -j"$(nproc)" all
187+
178188
- name: Run test-5hs-autoaccept test
179189
shell: bash
180190
run: |

0 commit comments

Comments
 (0)