funni-square/.github/workflows/c-cpp.yml
2024-01-03 16:12:18 +00:00

33 lines
637 B
YAML

name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install SDL2 dependencies
run: sudo apt update && sudo apt install git libsdl2-dev libsdl2-ttf-dev
- name: Snatch source code
uses: actions/checkout@v3
- name: -Debug- Ensure directory is ready to go for building
run: pwd && ls -al
- name: Make
run: make
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: yay
path: ./project
if-no-files-found: warn