Initial commit.
Some checks failed
Deploy Applications / Build (push) Failing after 7s

This commit is contained in:
amass 2024-06-30 14:52:55 +08:00
commit 120bdd3fb1
5 changed files with 89 additions and 0 deletions

17
.clang-format Normal file
View File

@ -0,0 +1,17 @@
BasedOnStyle: LLVM
ObjCBlockIndentWidth: 4
IndentWidth: 4
TabWidth: 4
AccessModifierOffset: -4
ColumnLimit: 120
#模板声明后换行
AlwaysBreakTemplateDeclarations: true
# 是否允许短if单行 If true, if (a) return; 可以放到同一行
AllowShortIfStatementsOnASingleLine: true
#短句 while (true) continue; 能被放到单行。
AllowShortLoopsOnASingleLine: true
AllowShortFunctionsOnASingleLine: false

View File

@ -0,0 +1,13 @@
name: Deploy Applications
run-name: ${{ github.actor }} is building Bilby...
on: [push]
jobs:
Build:
runs-on: [ubuntu-latest, ubuntu-24.04]
container:
image: frp-by1.wwvvww.cn:45288/ubuntu_dev:24.04
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: cmake --build build --target all
- run: build/Bilby

46
.gitignore vendored Normal file
View File

@ -0,0 +1,46 @@
# C++ objects and libs
*.slo
*.lo
*.o
*.a
*.la
*.lai
*.so
*.dll
*.dylib
# Qt-es
object_script.*.Release
object_script.*.Debug
*_plugin_import.cpp
/.qmake.cache
/.qmake.stash
*.pro.user
*.pro.user.*
*.qbs.user
*.qbs.user.*
*.moc
moc_*.cpp
moc_*.h
qrc_*.cpp
ui_*.h
*.qmlc
*.jsc
*build-*
# Qt unit tests
target_wrapper.*
# QtCreator
*.autosave
# QtCreator Qml
*.qmlproject.user
*.qmlproject.user.*
# QtCreator CMake
CMakeLists.txt.user*
build
logs
Server/logs
Server/conf/cert

7
CMakeLists.txt Normal file
View File

@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.17)
project(Bilby)
add_executable(Bilby
main.cpp
)

6
main.cpp Normal file
View File

@ -0,0 +1,6 @@
#include <iostream>
int main(int argc, char const *argv[]) {
std::cout << "hello, bilby." << std::endl;
return 0;
}