Archived
1
0

macrolibchange cout prout + movement working

This commit is contained in:
Adam Joly
2024-01-13 17:17:22 +01:00
parent a4aed04873
commit 884b480891
212 changed files with 294494 additions and 5297 deletions

View File

@ -0,0 +1,29 @@
name: Fetch Dependencies
on:
schedule:
- cron: '0 0 * * *' # Runs daily
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run Fetch Dependencies Script
run: cd scripts && bash ./fetch_dependencies.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: update dependencies
commit-message: "[BOT] update dependencies"
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
base: indev
branch: auto_deps_updates
labels: |
automated

View File

@ -0,0 +1,25 @@
name: Greetings
on: [pull_request_target, issues]
jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Hello! Thank you for filing an issue.
If this is a bug report, please include relevant logs to help us debug the problem (OS, MLX version, drivers installed, GPU type and vendor, ...)
pr-message: |
Hello! Thank you for your contribution.
If you are fixing a bug, please reference the issue number in the description.
If you are implementing a feature request, please explain all your changes in your pull request.

View File

@ -35,8 +35,8 @@ jobs:
# Build the lib
- name: Build MacroLibX
run: make -j
run: make -j && make fclean && make -j DEBUG=true
# Build the test
- name: Build Test
run: cd test && clang main.c ../libmlx.so -lSDL2
# Build the example
- name: Build Example
run: cd example && bash ./build.sh

View File

@ -35,9 +35,9 @@ jobs:
# Build the lib
- name: Build MacroLibX
run: make TOOLCHAIN=gcc -j
run: make TOOLCHAIN=gcc -j && make fclean && make TOOLCHAIN=gcc DEBUG=true -j
# Build the test
- name: Build Test
run: cd test && gcc main.c ../libmlx.so -lSDL2
# Build the example
- name: Build Example
run: cd example && bash ./build.sh

View File

@ -41,9 +41,9 @@ jobs:
# Build the lib
- name: Build MacroLibX
run: make -j
run: make -j && make fclean && make DEBUG=true -j
# Build the test
- name: Build Test
run: cd test && clang main.c ../libmlx.so -lSDL2
# Build the example
- name: Build Example
run: cd example && bash ./build.sh

View File

@ -50,18 +50,6 @@ jobs:
- name: Update xmake repository
run: xmake repo --update
# Fetch xmake dephash
- name: Retrieve dependencies hash
id: dep_hash
run: echo "hash=$(xmake l utils.ci.packageskey)" >> $GITHUB_OUTPUT
# Cache xmake dependencies
- name: Retrieve cached xmake dependencies
uses: actions/cache@v3
with:
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
key: Windows-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }}
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies
run: xmake config --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --yes
@ -70,6 +58,6 @@ jobs:
- name: Build MacroLibX
run: xmake --yes
# Build the test
- name: Build Test
# Build the example
- name: Build Example
run: xmake build --yes Test