fabasoad / setup-brainfuck-action

This GitHub action installs brainfuck compiler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup Brainfuck

Stand With Ukraine Releases functional-tests pre-commit

This action installs one of the brainfuck interpreters called brainfucky.

Prerequisites

The following tools have to be installed for successful work of this GitHub action: pip3.

Inputs

Name Required Description Default Possible values
version No Brainfucky library version that can be found here version 0.1.dev1 0.1.dev1, 0.1.dev0

Example usage

Workflow configuration

name: Test

on: push

jobs:
  build:
    name: Brainfuck
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@main
      - uses: fabasoad/setup-brainfuck-action@main
      - name: Hello World
        run: |
          touch ./hello-world.bf
          echo "++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.++" > ./hello-world.bf
          echo "+.------.--------.>>+.>++." >> ./hello-world.bf
          brainfucky --file ./hello-world.bf
          rm ./hello-world.bf

Result

executing file ./hello-world.bf
Hello World!

About

This GitHub action installs brainfuck compiler.

License:MIT License