mirror of
https://github.com/Ty3r0X/funni-square.git
synced 2025-02-16 11:56:57 +00:00
33 lines
637 B
YAML
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
|