feat add .gitea
This commit is contained in:
parent
61bb10d443
commit
7cec436317
46
.gitea/workflows/linux-x64-gcc.yml
Normal file
46
.gitea/workflows/linux-x64-gcc.yml
Normal file
@ -0,0 +1,46 @@
|
||||
name: linux-x64-gcc
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- ".gitea/workflows/linux-x64-gcc.yml"
|
||||
- "3party/**"
|
||||
- "benchmark/**"
|
||||
- "include/**"
|
||||
- "src/**"
|
||||
- "tests/**"
|
||||
- "CMakeLists.txt"
|
||||
pull_request:
|
||||
paths:
|
||||
- ".gitea/workflows/linux-x64-gcc.yml"
|
||||
- "3party/**"
|
||||
- "benchmark/**"
|
||||
- "include/**"
|
||||
- "src/**"
|
||||
- "tests/**"
|
||||
- "CMakeLists.txt"
|
||||
|
||||
concurrency:
|
||||
group: linux-x64-gcc-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
linux-gcc:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
build_type: ["Debug", "Release"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: install-tools
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y cmake make
|
||||
- name: configure
|
||||
run: |
|
||||
mkdir build && cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
|
||||
- name: build
|
||||
run: |
|
||||
cmake --build build -j `nproc`
|
@ -1,4 +1,4 @@
|
||||
#progam once
|
||||
#pragma once
|
||||
#ifndef SLED_BYTE_ORDER_H
|
||||
#define SLED_BYTE_ORDER_H
|
||||
#include <arpa/inet.h>
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @license : MIT
|
||||
**/
|
||||
|
||||
#progma once
|
||||
#pragma once
|
||||
#ifndef SLED_UNITS_TIMESTAMP_H
|
||||
#define SLED_UNITS_TIMESTAMP_H
|
||||
#include "sled/units/time_delta.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user