mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
40 lines
853 B
YAML
40 lines
853 B
YAML
name: Linux (clang)
|
|
|
|
on:
|
|
repository_dispatch:
|
|
types: [create-pull-request]
|
|
pull_request:
|
|
push:
|
|
paths-ignore:
|
|
- '.gitignore'
|
|
- 'LICENSE'
|
|
- 'README.md'
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-24.04]
|
|
arch: [x86_64]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install system dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get -y install mesa-common-dev clang libsdl2-2.0-0 libsdl2-dev build-essential libvulkan-dev
|
|
|
|
# Build the lib
|
|
- name: Build MacroLibX
|
|
run: make -j && make fclean && make debug
|
|
|
|
# Build the example
|
|
- name: Build Example
|
|
run: cd example && bash ./build.sh
|