Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 2.67 KB

README.md

File metadata and controls

73 lines (54 loc) · 2.67 KB

Setup Jule

Action validation

Easily setup a JuleC development environment in your project with GitHub Actions.
Very useful when your project is built in the Jule programming language.

Usage

Here's a basic workflow usage that you can use.
For full information, check out action.yml.

name: Setup Jule
on: [push]
jobs:
  jule:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: Panquesito7/[email protected]
        with:
          version: latest         # https://github.com/julelang/jule/releases for all JuleC versions.
          directory: .            # The directory where JuleC will be installed.
          architecture: amd64     # Architecture that will be used. Valid options are `amd64`, `arm64`, and `i386` (optional).
          add-to-path: false      # Whether to add JuleC to the PATH or not (optional).
          extra-command: version  # Extra command that will be run after compiling JuleC (optional; see below for more information).

Version syntax

Release syntax is taken from the official JuleC releases.

  • latest and current for the latest release.
  • dev for the latest commit.
  • beta-0.x.x (there are no stable releases for now).

Architecture

The architecture that will be used to install JuleC.
arm64, amd64, and i386 (Linux only) can be used. amd64 is the recommended architecture.

Extra command

An extra command will be run after compiling and installing JuleC.
You can see the full list of commands in the official manual.

Note

The manual is updated and based on the latest Jule commits.
However, the IR file might not be up-to-date, meaning that new commands won't work.

- uses: actions/checkout@v4
- uses: Panquesito7/[email protected]
  with:
    version: beta-0.0.2
    directory: ./libs
    architecture: amd64
    add-to-path: true
    extra-command: version

Supported operating systems

Currently, macOS and Linux are supported, just like JuleC itself.
Windows support will be added once JuleC supports Windows.

For more information: julelang/jule#34

License

See the LICENSE.md file for more information.