Files
leetcode_cpp/.gitea/workflows/meson.yaml
T
wt b09635c86b
Prepare Build with CMake and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 35s
Prepare Build with Make and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 29s
Prepare Build with Meson and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 25s
Update meson.yaml
2026-09-17 16:02:24 +07:00

35 lines
1.3 KiB
YAML

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: Install Meson and Ninja
run: |
sudo apt-get update
sudo apt-get install -y ninja-build build-essential 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