From 88080a2da17d4bd3d3832a1369d750806b8279ec Mon Sep 17 00:00:00 2001 From: Bjarne von Horn Date: Mon, 14 Aug 2023 11:34:29 +0200 Subject: [PATCH] build dist in ci and test out-of-tree build --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae231ce6..91a19d06 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,12 @@ build: - ./configure --with-linux-dir=/usr/src/linux-obj/$(uname -i)/default --disable-8139too --enable-tty --with-devices=2 --enable-ccat - make -j8 all modules - make DISTCHECK_CONFIGURE_FLAGS="--with-linux-dir=/usr/src/linux-obj/$(uname -i)/default" distcheck + - make dist + - mkdir test_dist && cd test_dist && tar xzf ../ethercat-*.tar.gz && cd ethercat-*/ + - mkdir build && cd build + - ../configure --with-linux-dir=/usr/src/linux-obj/$(uname -i)/default --disable-8139too --enable-tty --with-devices=2 --enable-ccat + - make -j8 all modules + # Build ethercat tool subcommand help output for documentation commands: