Skip to content

add checkout submodules #10

add checkout submodules

add checkout submodules #10

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
with:
submodules: true
- 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