Skip to content

About

Official GitHub Action to setup and install Orhun Programming Language in CI/CD workflows

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Orhun Language Action

Orhun Logo

Official GitHub Action to set up and configure the Orhun Programming Language toolchain in your CI/CD workflows.

Language Latest Release License Build Status


Features

  • ⚡ 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 fetch latest.

Quickstart

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.oh

Cross-Platform Matrix Testing

Test 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

Action Inputs

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 }}

Action Outputs

Output Description
orhun-version The resolved installed Orhun version (e.g. 1.0.1)
orhun-path Absolute filesystem path containing the orhun binary

About Orhun

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.


License

This action is licensed under the Apache License, Version 2.0. See LICENSE for details.

About

Official GitHub Action to setup and install Orhun Programming Language in CI/CD workflows

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages