Skip to content

Instantly share code, notes, and snippets.

@AndrewOfC
Created December 7, 2023 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewOfC/506696795facf61e3e811a225cd46103 to your computer and use it in GitHub Desktop.
Save AndrewOfC/506696795facf61e3e811a225cd46103 to your computer and use it in GitHub Desktop.
GitHub Action Stanza for Building C/C++ for Redhat RPMs
name: Build
on: push
jobs:
RedHat:
runs-on: ubuntu-latest
container: docker.io/andrewofc/redhatbuilder
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build
run: |
mkdir build
cd build
cmake ..
make -j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment