Skip to content

Commit

Permalink
added rgb30 yaml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
savaughn committed Dec 20, 2023
1 parent 78b0441 commit 187cac2
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/rgb30.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build rgb30

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build_linux:
# if: false # This workflow is disabled
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Checkout raylib
uses: actions/checkout@v3
with:
repository: raysan5/raylib
path: libs/raylib

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y xorg-dev libdrm-dev libgbm-dev libgles2-mesa-dev
- name: Build raylib
run: |
cd libs/raylib/src
make PLATFORM=PLATFORM_DRM
cp libraylib.a ../libraylib.a
mkdir -p ../include/
cp raylib.h ../include/
cp raymath.h ../include/
cp rlgl.h ../include/
cd ../../..
- name: Build Project
run: |
make rgb30
- name: Publish Build Artifacts
uses: actions/upload-artifact@v3
with:
name: "vertical-artifacts-rgb30"
path: build/

0 comments on commit 187cac2

Please sign in to comment.