Skip to content

Commit

Permalink
Release version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sanpeqf committed Nov 26, 2023
2 parents ed15a68 + 66814b0 commit bea4ab9
Show file tree
Hide file tree
Showing 333 changed files with 30,307 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-or-later
*.h text eol=lf
*.c text eol=lf
*.S text eol=lf
*.cmake text eol=lf
*.md text eol=lf
*.svg text eol=lf
.gitignore text eol=lf
CMakeLists.txt text eol=lf
40 changes: 40 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: analyse on codeql

on:
repository_dispatch:
workflow_dispatch:
push:
pull_request:
schedule:
- cron: '43 23 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]

steps:
- name: checkout
uses: actions/checkout@v3
- name: install dependencies
run: |
sudo apt update
sudo apt install cmake make clang
- name: initialize codeql
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: autobuild
uses: github/codeql-action/autobuild@v2
- name: perform analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
42 changes: 42 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: build default on macos

on:
repository_dispatch:
workflow_dispatch:
push:
pull_request:
schedule:
- cron: '0 */2 * * *'

env:
BUILD_TYPE: Release

jobs:
build:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]

steps:
- name: checkout
uses: actions/checkout@v3
- name: install dependencies
run: |
brew update
brew install cmake make ccache
- name: configure cmake
run: |
cmake -B ${{github.workspace}}/build \
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-D CMAKE_C_COMPILER=/usr/local/opt/ccache/libexec/clang \
-D BFDEV_DEVEL=ON
- name: make
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: install
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- install
- name: ctest
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} -V
43 changes: 43 additions & 0 deletions .github/workflows/ubuntu-clang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: build default on ubuntu clang

on:
repository_dispatch:
workflow_dispatch:
push:
pull_request:
schedule:
- cron: '0 */2 * * *'

env:
BUILD_TYPE: Release

jobs:
build:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- name: checkout
uses: actions/checkout@v3
- name: install dependencies
run: |
sudo apt update
sudo apt install cmake make clang ccache
- name: configure cmake
run: |
cmake -B ${{github.workspace}}/build \
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-D CMAKE_C_COMPILER=/usr/lib/ccache/clang \
-D BFDEV_DEVEL=ON
- name: make
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: install
working-directory: ${{github.workspace}}/build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- install
- name: ctest
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} -V
43 changes: 43 additions & 0 deletions .github/workflows/ubuntu-gcc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: build default on ubuntu gcc

on:
repository_dispatch:
workflow_dispatch:
push:
pull_request:
schedule:
- cron: '0 */2 * * *'

env:
BUILD_TYPE: Release

jobs:
build:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- name: checkout
uses: actions/checkout@v3
- name: install dependencies
run: |
sudo apt update
sudo apt install cmake make gcc ccache
- name: configure cmake
run: |
cmake -B ${{github.workspace}}/build \
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install \
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-D CMAKE_C_COMPILER=/usr/lib/ccache/gcc \
-D BFDEV_DEVEL=ON
- name: make
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: install
working-directory: ${{github.workspace}}/build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- install
- name: ctest
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} -V
46 changes: 46 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: build default on windows

on:
repository_dispatch:
workflow_dispatch:
push:
pull_request:
schedule:
- cron: '0 */2 * * *'

env:
BUILD_TYPE: Debug

jobs:
build:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
defaults:
run:
shell: msys2 {0}

steps:
- name: checkout
uses: actions/checkout@v3
- name: install dependencies
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: true
install: cmake make gcc
- name: configure cmake
run: |
cmake -B build \
-D CMAKE_INSTALL_PREFIX=build/install \
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-D BFDEV_EXAMPLES=ON
- name: make
run: cmake --build build --config ${{env.BUILD_TYPE}}
- name: install
run: cmake --build build --config ${{env.BUILD_TYPE}} -- install
- name: ctest
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} -V
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-or-later
CMakeFiles/
generated/
CMakeCache.txt
CTestTestfile.cmake
cmake_install.cmake
Makefile
libbfdev.*
15 changes: 15 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
This is the people who participate in the development
of the project, and they have made great contributions
to the development of the project.
Thanks

-----------
Bfdev Designer Group

Name : ffashion
Email : [email protected]
Represent : global

Name : John Sanpe
Email : [email protected]
Represent : global
Loading

0 comments on commit bea4ab9

Please sign in to comment.