Skip to content

Commit aa2fb86

Browse files
authored
github: use ell from repo by default (#319)
* 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]>
1 parent cae1639 commit aa2fb86

File tree

5 files changed

+45
-32
lines changed

5 files changed

+45
-32
lines changed

.github/workflows/ccpp.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,13 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: dependencies
21-
run: sudo apt-get -y install autoconf-archive pandoc git
22-
- name: build and install ELL
23-
run: |
24-
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
25-
cd ell
26-
git checkout 0.30
27-
./bootstrap
28-
./configure --prefix=/usr
29-
sudo make install
21+
run: sudo apt-get -y install autoconf-archive pandoc git libell-dev
3022
- name: bootstrap
3123
run: ./bootstrap
3224
- name: configure
3325
run: ./configure --${{ matrix.debug }}
3426
- name: make
35-
run: make
27+
run: make -j$(nproc)
3628
- name: make check
3729
run: make check
3830
- name: make distcheck

.github/workflows/coverage.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,13 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- name: dependencies
13-
run: sudo apt-get -y install autoconf-archive lcov git
14-
- name: build and install ELL
15-
run: |
16-
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
17-
cd ell
18-
git checkout 0.30
19-
./bootstrap
20-
./configure --prefix=/usr
21-
sudo make install
13+
run: sudo apt-get -y install autoconf-archive lcov git libell-dev
2214
- name: bootstrap
2315
run: ./bootstrap
2416
- name: configure
2517
run: ./configure --enable-code-coverage
2618
- name: make
27-
run: make
19+
run: make -j$(nproc)
2820
- name: make check
2921
run: make check-code-coverage \
3022
CODE_COVERAGE_OUTPUT_FILE=lcov.info \

.github/workflows/ell-master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
git log -1 --oneline --no-decorate
2929
./bootstrap
3030
./configure CC=${{ matrix.cc }} --prefix=/usr
31-
sudo make install
31+
sudo make -j$(nproc) install
3232
- name: bootstrap
3333
run: ./bootstrap
3434
- name: configure
3535
run: ./configure CC=${{ matrix.cc }}
3636
- name: make
37-
run: make
37+
run: make -j$(nproc)
3838
- name: make check
3939
run: make check

.github/workflows/ell-min.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: ELL min version
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
cc: [gcc, clang]
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: dependencies
21+
run: sudo apt-get -y install autoconf-archive git clang
22+
- name: build and install ELL
23+
run: |
24+
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
25+
cd ell
26+
git checkout 0.30
27+
./bootstrap
28+
./configure CC=${{ matrix.cc }} --prefix=/usr
29+
sudo make -j$(nproc) install
30+
- name: bootstrap
31+
run: ./bootstrap
32+
- name: configure
33+
run: ./configure CC=${{ matrix.cc }}
34+
- name: make
35+
run: make -j$(nproc)
36+
- name: make check
37+
run: make check

.github/workflows/multipath-tcp.org.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,10 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: dependencies
17-
run: sudo apt-get -y install autoconf-archive git
18-
- name: build and install ELL
19-
run: |
20-
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
21-
cd ell
22-
git checkout 0.30
23-
./bootstrap
24-
./configure --prefix=/usr
25-
sudo make install
17+
run: sudo apt-get -y install autoconf-archive git libell-dev
2618
- name: bootstrap
2719
run: ./bootstrap
2820
- name: configure
2921
run: ./configure --with-kernel=multipath-tcp.org
3022
- name: make
31-
run: make
23+
run: make -j$(nproc)

0 commit comments

Comments
 (0)