Skip to content

Commit

Permalink
github: use ell from repo by default (#319)
Browse files Browse the repository at this point in the history
* github: use 'make' with '-j'

To accelerate a bit the compilation.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>

* github: use ell from repo by default

No need to compile the v0.30 in all tests.

Add a specific test to check the compatibility with the minimum version.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>

---------

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe authored Feb 10, 2025
1 parent cae1639 commit aa2fb86
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 32 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt-get -y install autoconf-archive pandoc git
- name: build and install ELL
run: |
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
cd ell
git checkout 0.30
./bootstrap
./configure --prefix=/usr
sudo make install
run: sudo apt-get -y install autoconf-archive pandoc git libell-dev
- name: bootstrap
run: ./bootstrap
- name: configure
run: ./configure --${{ matrix.debug }}
- name: make
run: make
run: make -j$(nproc)
- name: make check
run: make check
- name: make distcheck
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt-get -y install autoconf-archive lcov git
- name: build and install ELL
run: |
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
cd ell
git checkout 0.30
./bootstrap
./configure --prefix=/usr
sudo make install
run: sudo apt-get -y install autoconf-archive lcov git libell-dev
- name: bootstrap
run: ./bootstrap
- name: configure
run: ./configure --enable-code-coverage
- name: make
run: make
run: make -j$(nproc)
- name: make check
run: make check-code-coverage \
CODE_COVERAGE_OUTPUT_FILE=lcov.info \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ell-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
git log -1 --oneline --no-decorate
./bootstrap
./configure CC=${{ matrix.cc }} --prefix=/usr
sudo make install
sudo make -j$(nproc) install
- name: bootstrap
run: ./bootstrap
- name: configure
run: ./configure CC=${{ matrix.cc }}
- name: make
run: make
run: make -j$(nproc)
- name: make check
run: make check
37 changes: 37 additions & 0 deletions .github/workflows/ell-min.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ELL min version

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
cc: [gcc, clang]

steps:
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt-get -y install autoconf-archive git clang
- name: build and install ELL
run: |
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
cd ell
git checkout 0.30
./bootstrap
./configure CC=${{ matrix.cc }} --prefix=/usr
sudo make -j$(nproc) install
- name: bootstrap
run: ./bootstrap
- name: configure
run: ./configure CC=${{ matrix.cc }}
- name: make
run: make -j$(nproc)
- name: make check
run: make check
12 changes: 2 additions & 10 deletions .github/workflows/multipath-tcp.org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt-get -y install autoconf-archive git
- name: build and install ELL
run: |
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
cd ell
git checkout 0.30
./bootstrap
./configure --prefix=/usr
sudo make install
run: sudo apt-get -y install autoconf-archive git libell-dev
- name: bootstrap
run: ./bootstrap
- name: configure
run: ./configure --with-kernel=multipath-tcp.org
- name: make
run: make
run: make -j$(nproc)

0 comments on commit aa2fb86

Please sign in to comment.