updated ci/cd
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Failing after 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 16s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 11s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Failing after 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 16s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 11s
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: Prepare Build and Testing executable binary
|
||||
run-name: ${{ gitea.actor }}
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Prepare-Build-Testing-With-CMake:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Configure CMake
|
||||
run: cmake -B ${{gitea.workspace}}/build
|
||||
- name: Build project
|
||||
run: cmake --build ${{gitea.workspace}}/build
|
||||
- name: Testing to run binary builded with CMake
|
||||
run: |
|
||||
${{gitea.workspace}}/build/canCompleteCircuit/canCompleteCircuit \
|
||||
&& ${{gitea.workspace}}/build/candy/candy \
|
||||
&& ${{gitea.workspace}}/build/canJump/canJump \
|
||||
&& ${{gitea.workspace}}/build/hindex/hindex \
|
||||
&& ${{gitea.workspace}}/build/jump/jump \
|
||||
&& ${{gitea.workspace}}/build/majorityelement/majorityelement \
|
||||
&& ${{gitea.workspace}}/build/maxprofit/maxprofit \
|
||||
&& ${{gitea.workspace}}/build/maxprofit2/maxprofit2 \
|
||||
&& ${{gitea.workspace}}/build/productExceptSelf/productExceptSelf \
|
||||
&& ${{gitea.workspace}}/build/randomizedset/randomizedset \
|
||||
&& ${{gitea.workspace}}/build/rmdupfromsortedarray/rmdupfromsortedarray \
|
||||
&& ${{gitea.workspace}}/build/rmdupfromsortedarray2/rmdupfromsortedarray2 \
|
||||
&& ${{gitea.workspace}}/build/rotate/rotate \
|
||||
&& ${{gitea.workspace}}/build/twopointers/twopointers
|
||||
@@ -29,37 +29,6 @@ jobs:
|
||||
&& ./rotate/rotate \
|
||||
&& ./twopointers/twopointers
|
||||
|
||||
Prepare-Build-Testing-With-CMake:
|
||||
runs-on: alpine-sdk
|
||||
steps:
|
||||
- name: prepare-container
|
||||
run: |
|
||||
apk add cmake
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Building binary with CMake
|
||||
run: |
|
||||
mkdir build && \
|
||||
cd build && \
|
||||
cmake .. && \
|
||||
make -j$(nproc)
|
||||
- name: Testing to run binary builded with CMake
|
||||
run: |
|
||||
./build/canCompleteCircuit/canCompleteCircuit \
|
||||
&& ./build/candy/candy \
|
||||
&& ./build/canJump/canJump \
|
||||
&& ./build/hindex/hindex \
|
||||
&& ./build/jump/jump \
|
||||
&& ./build/majorityelement/majorityelement \
|
||||
&& ./build/maxprofit/maxprofit \
|
||||
&& ./build/maxprofit2/maxprofit2 \
|
||||
&& ./build/productExceptSelf/productExceptSelf \
|
||||
&& ./build/randomizedset/randomizedset \
|
||||
&& ./build/rmdupfromsortedarray/rmdupfromsortedarray \
|
||||
&& ./build/rmdupfromsortedarray2/rmdupfromsortedarray2 \
|
||||
&& ./build/rotate/rotate \
|
||||
&& ./build/twopointers/twopointers
|
||||
|
||||
Prepare-Build-Testing-With-Meson:
|
||||
runs-on: alpine-sdk
|
||||
steps:
|
||||
Reference in New Issue
Block a user