Official GitHub Action to set up and configure the Orhun Programming Language toolchain in your CI/CD workflows.
- ⚡ Zero-Friction Setup: Downloads, verifies SHA-256 checksums, and configures Orhun in seconds.
- 🌍 Cross-Platform: Native support for Ubuntu Linux (
linux-x64), Microsoft Windows (windows-x64), and macOS (macos-arm64). - 🔒 Cryptographically Verified: Validates official SHA-256 checksums on all release archives.
- 🛠️ Full Toolchain: Ships with the bytecode virtual machine, self-hosted compiler, and standard library.
- 📦 Custom Version Pinning: Pin to a specific version (
1.0.1) or always fetchlatest.
Add orhunlang/setup-orhun@v1 to your workflow:
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Orhun
uses: orhunlang/setup-orhun@v1
with:
orhun-version: '1.0.0'
- name: Run tests
run: orhun calistir main.ohTest your Orhun programs across Linux, Windows, and macOS:
name: Cross-Platform Tests
on: [push, pull_request]
jobs:
matrix-test:
name: Test on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Orhun
uses: orhunlang/setup-orhun@v1
with:
orhun-version: '1.0.0'
- name: Check Version
run: orhun surum
- name: Run Script
run: orhun test.oh| Input | Description | Required | Default |
|---|---|---|---|
orhun-version |
Version of Orhun to install (1.0.1, latest) |
No | 1.0.1 |
artifact |
Artifact flavor: compiler (full toolchain) or runtime |
No | compiler |
token |
GitHub token for authenticated API requests | No | ${{ github.token }} |
| Output | Description |
|---|---|
orhun-version |
The resolved installed Orhun version (e.g. 1.0.1) |
orhun-path |
Absolute filesystem path containing the orhun binary |
Orhun is a fast, Turkish-first independent programming language featuring a C++17 bytecode virtual machine, a self-hosted compiler, rich diagnostics (Compiler as a Teacher), and a modern standard library.
- Repository: github.com/orhunlang/orhun
- Organization: github.com/orhunlang
This action is licensed under the Apache License, Version 2.0. See LICENSE for details.
