Skip to content

Commit 65268a8

Browse files
committed
Merge branch 'devel'
2 parents dce4082 + 7e5da16 commit 65268a8

File tree

254 files changed

+3516
-2383
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+3516
-2383
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: [ubuntu-20.04]
23+
os: [ubuntu-22.04]
2424
language: [ 'cpp' ]
2525

2626
steps:
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: build default on ubuntu aarch64 gcc
2+
3+
on:
4+
repository_dispatch:
5+
workflow_dispatch:
6+
push:
7+
pull_request:
8+
schedule:
9+
- cron: '0 */2 * * *'
10+
11+
env:
12+
BUILD_TYPE: Release
13+
LD_LIBRARY_PATH: /usr/aarch64-linux-gnu/lib
14+
15+
jobs:
16+
build:
17+
name: Test on ${{matrix.os}}
18+
runs-on: ${{matrix.os}}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-22.04]
22+
23+
steps:
24+
- name: checkout
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
29+
- name: install dependencies
30+
run: |
31+
sudo apt update
32+
sudo apt install cmake make qemu-user-binfmt \
33+
gcc gcc-aarch64-linux-gnu
34+
35+
- name: configure cmake
36+
run: |
37+
cmake -B ${{github.workspace}}/build \
38+
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
39+
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
40+
-D CMAKE_C_COMPILER=aarch64-linux-gnu-gcc \
41+
-D HOST_C_COMPILER=gcc \
42+
-D BFDEV_STRICT=ON \
43+
-D BFDEV_EXAMPLES=ON \
44+
-D BFDEV_TESTSUITE=ON
45+
46+
- name: make
47+
run: |
48+
cmake --build ${{github.workspace}}/build \
49+
--config ${{env.BUILD_TYPE}}
50+
51+
- name: install
52+
run: |
53+
cmake --build ${{github.workspace}}/build \
54+
--config ${{env.BUILD_TYPE}} -- install
55+
56+
- name: ctest
57+
working-directory: ${{github.workspace}}/build
58+
run: |
59+
sudo ln -s /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib
60+
ctest -C ${{env.BUILD_TYPE}} -V
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: build default on ubuntu armv7 gcc
2+
3+
on:
4+
repository_dispatch:
5+
workflow_dispatch:
6+
push:
7+
pull_request:
8+
schedule:
9+
- cron: '0 */2 * * *'
10+
11+
env:
12+
BUILD_TYPE: Release
13+
LD_LIBRARY_PATH: /usr/arm-linux-gnueabihf/lib
14+
15+
jobs:
16+
build:
17+
name: Test on ${{matrix.os}}
18+
runs-on: ${{matrix.os}}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-22.04]
22+
23+
steps:
24+
- name: checkout
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
29+
- name: install dependencies
30+
run: |
31+
sudo apt update
32+
sudo apt install cmake make qemu-user-binfmt \
33+
gcc gcc-arm-linux-gnueabihf
34+
35+
- name: configure cmake
36+
run: |
37+
cmake -B ${{github.workspace}}/build \
38+
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
39+
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
40+
-D CMAKE_C_COMPILER=arm-linux-gnueabihf-gcc \
41+
-D HOST_C_COMPILER=gcc \
42+
-D BFDEV_STRICT=ON \
43+
-D BFDEV_EXAMPLES=ON \
44+
-D BFDEV_TESTSUITE=ON
45+
46+
- name: make
47+
run: |
48+
cmake --build ${{github.workspace}}/build \
49+
--config ${{env.BUILD_TYPE}}
50+
51+
- name: install
52+
run: |
53+
cmake --build ${{github.workspace}}/build \
54+
--config ${{env.BUILD_TYPE}} -- install
55+
56+
- name: ctest
57+
working-directory: ${{github.workspace}}/build
58+
run: |
59+
sudo ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib
60+
ctest -C ${{env.BUILD_TYPE}} -V

.github/workflows/ubuntu-clang.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{matrix.os}}
1818
strategy:
1919
matrix:
20-
os: [ubuntu-20.04]
20+
os: [ubuntu-22.04]
2121

2222
steps:
2323
- name: checkout

.github/workflows/ubuntu-gcc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{matrix.os}}
1818
strategy:
1919
matrix:
20-
os: [ubuntu-20.04]
20+
os: [ubuntu-22.04]
2121

2222
steps:
2323
- name: checkout
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: build generic on ubuntu gcc
2+
3+
on:
4+
repository_dispatch:
5+
workflow_dispatch:
6+
push:
7+
pull_request:
8+
schedule:
9+
- cron: '0 */2 * * *'
10+
11+
env:
12+
BUILD_TYPE: Release
13+
14+
jobs:
15+
build:
16+
name: Test on ${{matrix.os}}
17+
runs-on: ${{matrix.os}}
18+
strategy:
19+
matrix:
20+
os: [ubuntu-22.04]
21+
22+
steps:
23+
- name: checkout
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
28+
- name: install dependencies
29+
run: |
30+
sudo apt update
31+
sudo apt install cmake make gcc ccache
32+
33+
- name: configure cmake
34+
run: |
35+
cmake -B ${{github.workspace}}/build \
36+
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
37+
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
38+
-D CMAKE_C_COMPILER=/usr/lib/ccache/gcc \
39+
-D CMAKE_SYSTEM_NAME=Generic -Wno-dev \
40+
-D BFDEV_DEVEL=ON
41+
42+
- name: make
43+
run: |
44+
cmake --build ${{github.workspace}}/build \
45+
--config ${{env.BUILD_TYPE}}
46+
47+
- name: install
48+
run: |
49+
cmake --build ${{github.workspace}}/build \
50+
--config ${{env.BUILD_TYPE}} -- install
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: build default on ubuntu mips gcc
2+
3+
on:
4+
repository_dispatch:
5+
workflow_dispatch:
6+
push:
7+
pull_request:
8+
schedule:
9+
- cron: '0 */2 * * *'
10+
11+
env:
12+
BUILD_TYPE: Release
13+
LD_LIBRARY_PATH: /usr/mips-linux-gnu/lib
14+
15+
jobs:
16+
build:
17+
name: Test on ${{matrix.os}}
18+
runs-on: ${{matrix.os}}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-22.04]
22+
23+
steps:
24+
- name: checkout
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
29+
- name: install dependencies
30+
run: |
31+
sudo apt update
32+
sudo apt install cmake make qemu-user-binfmt \
33+
gcc gcc-mips-linux-gnu
34+
35+
- name: configure cmake
36+
run: |
37+
cmake -B ${{github.workspace}}/build \
38+
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
39+
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
40+
-D CMAKE_C_COMPILER=mips-linux-gnu-gcc \
41+
-D HOST_C_COMPILER=gcc \
42+
-D BFDEV_STRICT=ON \
43+
-D BFDEV_EXAMPLES=ON \
44+
-D BFDEV_TESTSUITE=ON
45+
46+
- name: make
47+
run: |
48+
cmake --build ${{github.workspace}}/build \
49+
--config ${{env.BUILD_TYPE}}
50+
51+
- name: install
52+
run: |
53+
cmake --build ${{github.workspace}}/build \
54+
--config ${{env.BUILD_TYPE}} -- install
55+
56+
- name: ctest
57+
working-directory: ${{github.workspace}}/build
58+
run: |
59+
sudo ln -s /usr/mips-linux-gnu/lib/ld.so.1 /lib
60+
ctest -C ${{env.BUILD_TYPE}} -V
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: build default on ubuntu mips64 gcc
2+
3+
on:
4+
repository_dispatch:
5+
workflow_dispatch:
6+
push:
7+
pull_request:
8+
schedule:
9+
- cron: '0 */2 * * *'
10+
11+
env:
12+
BUILD_TYPE: Release
13+
LD_LIBRARY_PATH: /usr/mips64-linux-gnuabi64/lib
14+
15+
jobs:
16+
build:
17+
name: Test on ${{matrix.os}}
18+
runs-on: ${{matrix.os}}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-22.04]
22+
23+
steps:
24+
- name: checkout
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
29+
- name: install dependencies
30+
run: |
31+
sudo apt update
32+
sudo apt install cmake make qemu-user-binfmt \
33+
gcc gcc-mips64-linux-gnuabi64
34+
35+
- name: configure cmake
36+
run: |
37+
cmake -B ${{github.workspace}}/build \
38+
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
39+
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
40+
-D CMAKE_C_COMPILER=mips64-linux-gnuabi64-gcc \
41+
-D HOST_C_COMPILER=gcc \
42+
-D BFDEV_STRICT=ON \
43+
-D BFDEV_EXAMPLES=ON \
44+
-D BFDEV_TESTSUITE=ON
45+
46+
- name: make
47+
run: |
48+
cmake --build ${{github.workspace}}/build \
49+
--config ${{env.BUILD_TYPE}}
50+
51+
- name: install
52+
run: |
53+
cmake --build ${{github.workspace}}/build \
54+
--config ${{env.BUILD_TYPE}} -- install
55+
56+
- name: ctest
57+
working-directory: ${{github.workspace}}/build
58+
run: |
59+
sudo ln -s /usr/mips64-linux-gnuabi64/lib/ld.so.1 /lib64
60+
ctest -C ${{env.BUILD_TYPE}} -V

0 commit comments

Comments
 (0)