feat add .gitea
All checks were successful
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 38s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 36s

This commit is contained in:
tqcq 2024-03-01 14:56:06 +08:00
parent 61bb10d443
commit 7cec436317
3 changed files with 48 additions and 2 deletions

View 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`

View File

@ -1,4 +1,4 @@
#progam once
#pragma once
#ifndef SLED_BYTE_ORDER_H
#define SLED_BYTE_ORDER_H
#include <arpa/inet.h>

View File

@ -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"