Skip to content

Commit 52eda5b

Browse files
committed
Release version 1.0
2 parents ed15a68 + b776fda commit 52eda5b

File tree

333 files changed

+30307
-2
lines changed

Some content is hidden

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

333 files changed

+30307
-2
lines changed

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
*.h text eol=lf
3+
*.c text eol=lf
4+
*.S text eol=lf
5+
*.cmake text eol=lf
6+
*.md text eol=lf
7+
*.svg text eol=lf
8+
.gitignore text eol=lf
9+
CMakeLists.txt text eol=lf

.github/workflows/codeql.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: analyse on codeql
2+
3+
on:
4+
repository_dispatch:
5+
workflow_dispatch:
6+
push:
7+
pull_request:
8+
schedule:
9+
- cron: '43 23 * * 4'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
language: [ 'cpp' ]
23+
24+
steps:
25+
- name: checkout
26+
uses: actions/checkout@v3
27+
- name: install dependencies
28+
run: |
29+
sudo apt update
30+
sudo apt install cmake make clang
31+
- name: initialize codeql
32+
uses: github/codeql-action/init@v2
33+
with:
34+
languages: ${{ matrix.language }}
35+
- name: autobuild
36+
uses: github/codeql-action/autobuild@v2
37+
- name: perform analysis
38+
uses: github/codeql-action/analyze@v2
39+
with:
40+
category: "/language:${{matrix.language}}"

.github/workflows/macos.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: build default on macos
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: [macos-latest]
21+
22+
steps:
23+
- name: checkout
24+
uses: actions/checkout@v3
25+
- name: install dependencies
26+
run: |
27+
brew update
28+
brew install cmake make ccache
29+
- name: configure cmake
30+
run: |
31+
cmake -B ${{github.workspace}}/build \
32+
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
33+
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
34+
-D CMAKE_C_COMPILER=/usr/local/opt/ccache/libexec/clang \
35+
-D BFDEV_DEVEL=ON
36+
- name: make
37+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
38+
- name: install
39+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- install
40+
- name: ctest
41+
working-directory: ${{github.workspace}}/build
42+
run: ctest -C ${{env.BUILD_TYPE}} -V

.github/workflows/ubuntu-clang.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: build default on ubuntu clang
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-latest]
21+
22+
steps:
23+
- name: checkout
24+
uses: actions/checkout@v3
25+
- name: install dependencies
26+
run: |
27+
sudo apt update
28+
sudo apt install cmake make clang ccache
29+
- name: configure cmake
30+
run: |
31+
cmake -B ${{github.workspace}}/build \
32+
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
33+
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
34+
-D CMAKE_C_COMPILER=/usr/lib/ccache/clang \
35+
-D BFDEV_DEVEL=ON
36+
- name: make
37+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
38+
- name: install
39+
working-directory: ${{github.workspace}}/build
40+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- install
41+
- name: ctest
42+
working-directory: ${{github.workspace}}/build
43+
run: ctest -C ${{env.BUILD_TYPE}} -V

.github/workflows/ubuntu-gcc.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: build default 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-latest]
21+
22+
steps:
23+
- name: checkout
24+
uses: actions/checkout@v3
25+
- name: install dependencies
26+
run: |
27+
sudo apt update
28+
sudo apt install cmake make gcc ccache
29+
- name: configure cmake
30+
run: |
31+
cmake -B ${{github.workspace}}/build \
32+
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
33+
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
34+
-D CMAKE_C_COMPILER=/usr/lib/ccache/gcc \
35+
-D BFDEV_DEVEL=ON
36+
- name: make
37+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
38+
- name: install
39+
working-directory: ${{github.workspace}}/build
40+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- install
41+
- name: ctest
42+
working-directory: ${{github.workspace}}/build
43+
run: ctest -C ${{env.BUILD_TYPE}} -V

.github/workflows/windows.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: build default on windows
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: Debug
13+
14+
jobs:
15+
build:
16+
name: Test on ${{ matrix.os }}
17+
runs-on: ${{ matrix.os }}
18+
strategy:
19+
matrix:
20+
os: [windows-latest]
21+
defaults:
22+
run:
23+
shell: msys2 {0}
24+
25+
steps:
26+
- name: checkout
27+
uses: actions/checkout@v3
28+
- name: install dependencies
29+
uses: msys2/setup-msys2@v2
30+
with:
31+
msystem: UCRT64
32+
update: true
33+
install: cmake make gcc
34+
- name: configure cmake
35+
run: |
36+
cmake -B build \
37+
-D CMAKE_INSTALL_PREFIX=build/install \
38+
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
39+
-D BFDEV_EXAMPLES=ON
40+
- name: make
41+
run: cmake --build build --config ${{env.BUILD_TYPE}}
42+
- name: install
43+
run: cmake --build build --config ${{env.BUILD_TYPE}} -- install
44+
- name: ctest
45+
working-directory: ${{github.workspace}}/build
46+
run: ctest -C ${{env.BUILD_TYPE}} -V

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
CMakeFiles/
3+
generated/
4+
CMakeCache.txt
5+
CTestTestfile.cmake
6+
cmake_install.cmake
7+
Makefile
8+
libbfdev.*

AUTHORS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
This is the people who participate in the development
2+
of the project, and they have made great contributions
3+
to the development of the project.
4+
Thanks
5+
6+
-----------
7+
Bfdev Designer Group
8+
9+
Name : ffashion
10+
11+
Represent : global
12+
13+
Name : John Sanpe
14+
15+
Represent : global

0 commit comments

Comments
 (0)