Merge pull request 'Develop' (#2) from develop into main
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 6s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 54s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 1m22s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 6s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 54s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 1m22s
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
@@ -10,39 +10,27 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Building binary with make
|
- name: Building binary with make
|
||||||
run: make -j$(nproc)
|
run: make -j$(nproc)
|
||||||
# - name: Testing binary
|
|
||||||
# run: make test
|
|
||||||
|
|
||||||
Prepare-Build-Testing-With-CMake:
|
Prepare-Build-Testing-With-CMake:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: prepare-container
|
|
||||||
run: |
|
|
||||||
apt install -y cmake
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Building binary with CMake
|
- name: Install build tools
|
||||||
run: |
|
run: apt update && apt install -y cmake
|
||||||
mkdir build && \
|
- name: Configure CMake
|
||||||
cd build && \
|
run: cmake -B ${{gitea.workspace}}/build
|
||||||
cmake .. && \
|
- name: Build project
|
||||||
make -j$(nproc)
|
run: cmake --build ${{gitea.workspace}}/build
|
||||||
# - name: Testing binary
|
|
||||||
# run: |
|
|
||||||
# cp -v build/auth_service . && ./tests.sh
|
|
||||||
|
|
||||||
Prepare-Build-Testing-With-Meson:
|
Prepare-Build-Testing-With-Meson:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: prepare-container
|
|
||||||
run: |
|
|
||||||
apt install -y meson
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Building binary with meson
|
- name: Install build tools
|
||||||
run: |
|
run: apt update && apt install -y meson
|
||||||
meson setup build && \
|
- name: Configure Project
|
||||||
ninja -C build
|
run: meson setup build --buildtype=release
|
||||||
# - name: Testing binary
|
- name: Build Project
|
||||||
# run: |
|
run: meson compile -C build
|
||||||
# cp -v build/auth_service . && ./tests.sh
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
set(CMAKE_C_COMPILER aarch64-buildroot-linux-uclibc-gcc)
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
[binaries]
|
||||||
|
c = 'aarch64-buildroot-linux-uclibc-gcc'
|
||||||
|
ar = 'aarch64-buildroot-linux-uclibc-ar'
|
||||||
|
strip = 'aarch64-buildroot-linux-uclibc-strip'
|
||||||
|
ld = 'aarch64-buildroot-linux-uclibc-ld'
|
||||||
|
|
||||||
|
[host_machine]
|
||||||
|
system = 'linux'
|
||||||
|
cpu_family = 'x86_64'
|
||||||
|
cpu = 'x86_64'
|
||||||
|
endian = 'little'
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
set(CMAKE_C_COMPILER arm-buildroot-linux-uclibcgnueabihf-gcc)
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
[binaries]
|
||||||
|
c = 'arm-buildroot-linux-uclibcgnueabihf-gcc'
|
||||||
|
ar = 'arm-buildroot-linux-uclibcgnueabihf-ar'
|
||||||
|
strip = 'arm-buildroot-linux-uclibcgnueabihf-strip'
|
||||||
|
ld = 'arm-buildroot-linux-uclibcgnueabihf-ld'
|
||||||
|
|
||||||
|
[host_machine]
|
||||||
|
system = 'linux'
|
||||||
|
cpu_family = 'x86_64'
|
||||||
|
cpu = 'x86_64'
|
||||||
|
endian = 'little'
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
set(CMAKE_C_COMPILER x86_64-buildroot-linux-uclibc-gcc)
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
[binaries]
|
||||||
|
c = 'x86_64-buildroot-linux-uclibc-gcc'
|
||||||
|
ar = 'x86_64-buildroot-linux-uclibc-ar'
|
||||||
|
strip = 'x86_64-buildroot-linux-uclibc-strip'
|
||||||
|
ld = 'x86_64-buildroot-linux-uclibc-ld'
|
||||||
|
|
||||||
|
[host_machine]
|
||||||
|
system = 'linux'
|
||||||
|
cpu_family = 'x86_64'
|
||||||
|
cpu = 'x86_64'
|
||||||
|
endian = 'little'
|
||||||
Reference in New Issue
Block a user