Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: C++ CI (Make)

on:
push:
branches: [ "main", "ci/cd" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install toolchain
run: |
sudo apt-get update
sudo apt-get install -y build-essential

- name: Build (Makefile)
run: |
make -j"$(nproc)"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

This is a basic Docker container for a C++ program


[![C++ CI (Make)](https://github.com/jgonzalez98-software/cpp-container/actions/workflows/build.yml/badge.svg)](https://github.com/jgonzalez98-software/cpp-container/actions/workflows/build.yml)

## Getting Started

Build the image from `Dockerfile` with the command:
Expand Down