Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabasoad/setup-brainfuck-action
This GitHub action installs brainfuck compiler.
https://github.com/fabasoad/setup-brainfuck-action
brainfuck brainfuck-interpreter esoteric-interpreter esoteric-language github-action github-actions
Last synced: 1 day ago
JSON representation
This GitHub action installs brainfuck compiler.
- Host: GitHub
- URL: https://github.com/fabasoad/setup-brainfuck-action
- Owner: fabasoad
- License: mit
- Created: 2020-03-19T13:29:50.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T12:20:47.000Z (10 months ago)
- Last Synced: 2025-02-04T06:02:02.655Z (11 days ago)
- Topics: brainfuck, brainfuck-interpreter, esoteric-interpreter, esoteric-language, github-action, github-actions
- Size: 6.19 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-actions - Setup Brainfuck - Setup brainfuck interpreter. (Community Resources / Build)
- fucking-awesome-actions - Setup Brainfuck - Setup brainfuck interpreter. (Community Resources / Build)
- awesome-workflows - Setup Brainfuck - Setup brainfuck interpreter. (Community Resources / Build)
README
# Setup Brainfuck
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![Releases](https://img.shields.io/github/v/release/fabasoad/setup-brainfuck-action?include_prereleases)
![functional-tests](https://github.com/fabasoad/setup-brainfuck-action/actions/workflows/functional-tests.yml/badge.svg)
![linting](https://github.com/fabasoad/setup-brainfuck-action/actions/workflows/linting.yml/badge.svg)
![security](https://github.com/fabasoad/setup-brainfuck-action/actions/workflows/security.yml/badge.svg)This action installs [brainfucky](https://pypi.org/project/brainfucky/) - one of
the brainfuck interpreters.## Supported OS
| OS | |
|---------|--------------------|
| Windows | :white_check_mark: |
| Linux | :white_check_mark: |
| macOS | :white_check_mark: |## Prerequisites
None.
## Inputs
```yaml
- uses: fabasoad/setup-brainfuck-action@v1
with:
# (Optional) brainfucky interpreter version. Defaults to the latest version.
version: "0.1.dev1"
# (Optional) If "false" skips installation if brainfucky is already installed.
# If "true" installs brainfucky in any case. Defaults to "false".
force: "false"
# (Optional) GitHub token that is used to send requests to GitHub API such
# as getting available python versions. Defaults to the token provided by
# GitHub Actions environment.
github-token: "${{ github.token }}"
```## Outputs
| Name | Description | Example |
|-----------|-----------------------------------------|---------|
| installed | Whether brainfucky was installed or not | `true` |## Example usage
### Workflow configuration
```yaml
name: Teston: 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
```text
executing file ./hello-world.bf
Hello World!
```