Coder Social home page Coder Social logo

FreeBSD about tunshell HOT 12 CLOSED

timetoogo avatar timetoogo commented on June 14, 2024
FreeBSD

from tunshell.

Comments (12)

wez avatar wez commented on June 14, 2024 1

I published portable-pty 0.3.1 with the FreeBSD build fix for that component.

@probonopd: thanks for the info about FreeBSD CI; I'll see if I can hook that up in wezterm.

from tunshell.

wez avatar wez commented on June 14, 2024 1

FWIW, setting up FreeBSD CI for a rust project was pretty easy (but 2x slower than my slowest build target) using Cirrus:
wez/wezterm@4c9af46
The docs for cirrus had some info on capturing artifacts from the build, so it should be possible for you to deploy binaries from there.

from tunshell.

probonopd avatar probonopd commented on June 14, 2024 1

2x slower than my slowest build target

Is it CPU and/or RAM-bound? Then you can add more CPUs in the Cirrus CI configuration like this:

freebsd_instance:
  image: freebsd-12-1-release-amd64
  cpu: 4
  memory: 8G

from tunshell.

wez avatar wez commented on June 14, 2024 1

2x slower than my slowest build target

Is it CPU and/or RAM-bound? Then you can add more CPUs in the Cirrus CI configuration like this:

freebsd_instance:
  image: freebsd-12-1-release-amd64
  cpu: 4
  memory: 8G

Thanks; that extra CPU made it more reasonable!

from tunshell.

TimeToogo avatar TimeToogo commented on June 14, 2024

Hi @probonopd,

Looks like this is not going to be simple one. Few blockers on this:

  • I can successfully compile a working client on FreeBSD but I currently cannot build a statically-linked binary.
  • Dependency fails to compile on freebsd targets, should be addressed by wez/wezterm#258
  • GitHub actions does not support FreeBSD runners so automated deployment will be difficult.

from tunshell.

probonopd avatar probonopd commented on June 14, 2024

Hi @TimeToogo, thanks for taking the time to look into this.

statically-linked binary

I'd have no issues with that.

GitHub actions does not support FreeBSD runners

https://cirrus-ci.org/ does, and it can be integrated with GitHub. I am using it here to build an application for FreeBSD.

Something like this could be used to upload the build artefacts to GitHub Releases if needed.

from tunshell.

TimeToogo avatar TimeToogo commented on June 14, 2024

@probonopd I've been experimenting a little more and I've deployed dynamically-linked x86 64/32 bit binaries for FreeBSD which can currently be used by used a modified version of the install shell script:

curl -sSf https://lets.tunshell.com/init--bsd.sh

Considering the nature of this app I'm not comfortable adding a relatively niche deployment platform.
I'm going to hold off on merging feature/freebsd until solutions can be found to the previous points.

from tunshell.

probonopd avatar probonopd commented on June 14, 2024

Thanks a lot @TimeToogo.

Works like a charm for me, I am very happy šŸ‘

from tunshell.

Mic92 avatar Mic92 commented on June 14, 2024

Was the freebsd link at https://lets.tunshell.com/init--bsd.sh removed again?

from tunshell.

TimeToogo avatar TimeToogo commented on June 14, 2024

@Mic92 @probonopd FreeBSD support is now added to the standard builds. No custom script is necessary.

from tunshell.

Mic92 avatar Mic92 commented on June 14, 2024

cool!

from tunshell.

phil-blain avatar phil-blain commented on June 14, 2024

Hi! I successfully used tunshell to log into a Cirrus-CI FreeBSD VM. Thanks for this tool! However I noticed FreeBSD support is not listed in the README. Just thought Iā€™d let you know :)

from tunshell.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.