diff --git a/.gitea/workflows/linux.yml b/.gitea/workflows/linux.yml
new file mode 100644
index 0000000..d4742d3
--- /dev/null
+++ b/.gitea/workflows/linux.yml
@@ -0,0 +1,34 @@
+name: Linux
+
+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-latest]
+ arch: [x86_64]
+
+ runs-on: ${{ matrix.os }}
+ if: "!contains(github.event.head_commit.message, 'ci skip')"
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v6
+
+ - 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
+
+ - name: Build
+ run: cd sandbox && make
diff --git a/.gitea/workflows/macos.yml b/.gitea/workflows/macos.yml
new file mode 100644
index 0000000..1cad839
--- /dev/null
+++ b/.gitea/workflows/macos.yml
@@ -0,0 +1,32 @@
+name: Linux
+
+on:
+ repository_dispatch:
+ types: [create-pull-request]
+ pull_request:
+ push:
+ paths-ignore:
+ - '.gitignore'
+ - 'LICENSE'
+ - 'README.md'
+
+jobs:
+ build:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [macOS-latest]
+ arch: [x86_64]
+
+ runs-on: ${{ matrix.os }}
+ if: "!contains(github.event.head_commit.message, 'ci skip')"
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v6
+
+ - name: Install system dependencies
+ run: brew install SDL2 vulkan-headers
+
+ - name: Build
+ run: cd sandbox && make
diff --git a/README.md b/README.md
index 49799a8..f0b2c95 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# KVF
+# KVF
KVF (kbz_8 vulkan framework) is a lightweight single-header Vulkan framework written in C99 to simplify the creation of Vulkan applications.
It is designed to be a drop in framework inside any existing Vulkan renderer as it does not use any custom types of structs (except for the graphics pipeline builder).
diff --git a/kvf.h b/kvf.h
index 8624c65..4ca93ab 100755
--- a/kvf.h
+++ b/kvf.h
@@ -526,7 +526,7 @@ int32_t kvfFindMemoryType(VkPhysicalDevice physical_device, uint32_t type_filter
VkPhysicalDeviceMemoryProperties mem_properties;
KVF_GET_INSTANCE_FUNCTION(vkGetPhysicalDeviceMemoryProperties)(physical_device, &mem_properties);
- for(int32_t i = 0; i < mem_properties.memoryTypeCount; i++)
+ for(int32_t i = 0; i < (int32_t)mem_properties.memoryTypeCount; i++)
{
if((type_filter & (1 << i)) && (mem_properties.memoryTypes[i].propertyFlags & properties) == properties)
return i;