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
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
name: Prepare Build with Make and Testing executable binary
|
|
run-name: ${{ gitea.actor }}
|
|
on: [push]
|
|
|
|
jobs:
|
|
Prepare-Build-Testing-With-Make:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Install build tools
|
|
run: sudo apt-get update && sudo apt-get install -y build-essential
|
|
- name: Building binary with make
|
|
run: make -j$(nproc)
|
|
- name: Testing to run binary builded with make
|
|
run: |
|
|
./canCompleteCircuit/canCompleteCircuit \
|
|
&& ./candy/candy \
|
|
&& ./canJump/canJump \
|
|
&& ./hindex/hindex \
|
|
&& ./jump/jump \
|
|
&& ./majorityelement/majorityelement \
|
|
&& ./maxprofit/maxprofit \
|
|
&& ./maxprofit2/maxprofit2 \
|
|
&& ./productExceptSelf/productExceptSelf \
|
|
&& ./randomizedset/randomizedset \
|
|
&& ./rmdupfromsortedarray/rmdupfromsortedarray \
|
|
&& ./rmdupfromsortedarray2/rmdupfromsortedarray2 \
|
|
&& ./rotate/rotate \
|
|
&& ./twopointers/twopointers
|