added meson.yaml
Prepare Build with CMake and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 34s
Prepare Build with Make and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 15s
Prepare Build with Meson and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Failing after 52s
Prepare Build with CMake and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 34s
Prepare Build with Make and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 15s
Prepare Build with Meson and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Failing after 52s
This commit is contained in:
1 parent
8bd7af3ede
commit
83963b37dd
3 files changed
+41
-31
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
name: Prepare Build and Testing executable binary
|
name: Prepare Build with CMake and Testing executable binary
|
||||||
run-name: ${{ gitea.actor }}
|
run-name: ${{ gitea.actor }}
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Prepare Build and Testing executable binary
|
name: Prepare Build with Make and Testing executable binary
|
||||||
run-name: ${{ gitea.actor }}
|
run-name: ${{ gitea.actor }}
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
@@ -28,32 +28,3 @@ jobs:
|
|||||||
&& ./rmdupfromsortedarray2/rmdupfromsortedarray2 \
|
&& ./rmdupfromsortedarray2/rmdupfromsortedarray2 \
|
||||||
&& ./rotate/rotate \
|
&& ./rotate/rotate \
|
||||||
&& ./twopointers/twopointers
|
&& ./twopointers/twopointers
|
||||||
|
|
||||||
Prepare-Build-Testing-With-Meson:
|
|
||||||
runs-on: alpine-sdk
|
|
||||||
steps:
|
|
||||||
- name: prepare-container
|
|
||||||
run: |
|
|
||||||
apk add meson ninja cmake
|
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Building binary with meson
|
|
||||||
run: |
|
|
||||||
meson setup build && \
|
|
||||||
meson compile -C build
|
|
||||||
- name: Testing to run binary builded with meson
|
|
||||||
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
|
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
name: Prepare Build with Meson and Testing executable binary
|
||||||
|
run-name: ${{ gitea.actor }}
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Prepare-Build-Testing-With-Meson:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-run-version: "3.x"
|
||||||
|
- name: Install Meson and Ninja
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y ninja-build build-essential
|
||||||
|
pip install meson
|
||||||
|
- name: Configure Project
|
||||||
|
run: meson setup build --buildtype=release
|
||||||
|
- name: Build Project
|
||||||
|
run: meson compile -C build
|
||||||
|
- name: Testing to run binary builded with meson
|
||||||
|
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
|
||||||
Reference in new issue
Block a user