Skip to content

This GitHub action installs brainfuck compiler.

License

Notifications You must be signed in to change notification settings

fabasoad/setup-brainfuck-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup Brainfuck

Stand With Ukraine Releases functional-tests linting

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!