Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI Test

on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]

jobs:
test-apple-silicon:
name: gtest on M1 Mac (CPU)
runs-on: macos-15

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Build Dependencies
run: |
python -m pip install --upgrade pip
pip install nanobind cmake

- name: Build Backend (CMake)
run: |
mkdir build
cd build
cmake .. -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release
cmake --build .

- name: Run Tests
run: |
cd build
./tests/forge_tests
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/kellen-sun/Forge.svg)
<!---Add another badge here about build passing? and version number? software license--->
[![CI Build](https://github.com/kellen-sun/Forge/actions/workflows/main.yml/badge.svg)](https://github.com/kellen-sun/Forge/actions/workflows/main.yml)
<!---Add another badge here about version number? software license--->
# Forge
> Forge crafts Metal: an Array framework with eager execution and JIT graph compilation for Apple Silicon GPUs

Expand Down