Skip to content
Open

. #21

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
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Windows]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
73 changes: 73 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Build

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

jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]

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

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

- name: Install Meson & Ninja
run: pip install meson ninja

- name: Install LLVM (Linux)
if: runner.os == 'Linux'
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 20
sudo apt-get install -y llvm-20-dev

- name: Install LLVM (macOS)
if: runner.os == 'macOS'
run: |
brew install llvm@20
echo "$(brew --prefix llvm@20)/bin" >> $GITHUB_PATH

- name: Install LLVM (Windows)
if: runner.os == 'Windows'
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: mingw-w64-x86_64-llvm

- name: Find llvm-config (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
Get-ChildItem -Path C:\ -Recurse -Filter "llvm-config.exe" -ErrorAction SilentlyContinue | Select-Object FullName

- name: Configure (release)
if: runner.os != 'Windows'
run: meson setup build/ --buildtype=release

- name: Build (release)
run: meson compile -C build/

- name: Smoke test
shell: bash
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
./build/luma.exe --help || true
else
./build/luma --help || true
fi
42 changes: 1 addition & 41 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,41 +1 @@
build
obj
lux

# autotools
autom4te.cache

# Linux executables (files without extensions)
*
!*/
!*.*

# Ignore Windows executables
*.exe

# Ignore Doxygen output
docs/doxygen/
docs/html/
docs/latex/
docs/xml/

# Ignore output from llvm
*.bc
*.ll
*.o
*.s

# Ignore IDE directories
.vscode

# ignore the lsp-client server node modules
node_modules
package-lock.json
tsconfig.tsbuildinfo
src/lsp/language-support/client/out

# ignore macOS hidden files
.DS_Store

# Bear / clangd
compile_commands.json
build/
File renamed without changes.
File renamed without changes.
156 changes: 0 additions & 156 deletions Makefile

This file was deleted.

File renamed without changes.
62 changes: 0 additions & 62 deletions config.default.mk

This file was deleted.

Loading
Loading