Skip to content

add get-cmake version #8

add get-cmake version

add get-cmake version #8

Workflow file for this run

name: C Program Workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
compile_and_run:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: get-cmake
uses: lukka/get-cmake@v3.29.3
- name: Create Build Directory
run: mkdir build
- name: Configure CMake
run: cmake -S . -B build
- name: Build
run: cmake --build build
- name: Run compiled program
run: ./build/address_book_tests