# illumos/Solaris build automation

**URL:** https://forum.syncthing.net/t/illumos-solaris-build-automation/24687
**Category:** Development
**Created:** [July 26, 2025, 8:22pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687 "2025-07-26T20:22:44Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![trisk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/trisk/32/19296_2.png) [@trisk](https://forum.syncthing.net/u/trisk)
#### Post date: [July 26, 2025, 8:22pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/1 "2025-07-26T20:22:44Z")

</div>

Hi, I’m a longtime Syncthing user and saw the announcement that the official build automation for illumos/Solaris amd64 (thank you to whomever had been maintaining that) is going away with the 2.0 release. If I have to automate builds for myself, I might as well help set up any infrastructure the project needs to keep these builds going. Let me know who to get in touch with!

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [July 27, 2025, 6:17am UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/2 "2025-07-27T06:17:14Z")

</div>

That’d be me, probably. I guess step one would be to see how/if it builds on illumos to begin with.

---

<div class="post-metadata">

### Author: ![trisk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/trisk/32/19296_2.png) [@trisk](https://forum.syncthing.net/u/trisk)
#### Post date: [August 7, 2025, 7:11pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/3 "2025-08-07T19:11:14Z")

</div>

That took significantly less work than I expected:

```plaintext
[trisk@catbug]% uname -a
SunOS catbug 5.11 omnios-r151054-180b86b9dd i86pc i386 i86pc
[trisk@catbug]% pfexec pkg set-publisher -g https://pkg.omnios.org/r151054/extra extra.omnios
[trisk@catbug]% pfexec pkg install developer/go-124
[trisk@catbug]% git clone git@github.com:syncthing/syncthing.git
[trisk@catbug]% cd syncthing
[trisk@catbug]% PATH="$PATH:/opt/ooce/bin" ./build.sh
[trisk@catbug]% ./bin/syncthing version
syncthing v2.0.0-rc.24 "Hafnium Hornet" (go1.24.4 illumos-amd64) trisk@catbug 2025-08-07 09:47:50 UTC

```

---

<div class="post-metadata">

### Author: ![trisk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/trisk/32/19296_2.png) [@trisk](https://forum.syncthing.net/u/trisk)
#### Post date: [August 7, 2025, 7:35pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/4 "2025-08-07T19:35:18Z")

</div>

I was going to create a Solaris 10 branded zone for the Solaris builds, but it looks like Go 1.3+ was never ported to Solaris 10. I haven’t checked what environment the previous Solaris builds came from.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [August 8, 2025, 5:28am UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/5 "2025-08-08T05:28:31Z")

</div>

Sweet, that’s step one done. Step two then, how to integrate that into our GitHub Actions workflow so it can run as part of the release build… 🤔

---

<div class="post-metadata">

### Author: ![foo](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/f/b19c9b/32.png) [@foo](https://forum.syncthing.net/u/foo)
#### Post date: [August 11, 2025, 8:43am UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/6 "2025-08-11T08:43:19Z")

</div>

> [@calmh](#):
>
> Step two then, how to integrate that into our GitHub Actions workflow so it can run as part of the release build… 🤔

One alternative could perhaps be to use [vmactions](https://github.com/vmactions) with something like (untested):

```yaml
---
omnios:
  runs-on: ubuntu-latest
  name: Build for OmniOS
  steps:
    - uses: actions/checkout@v4

    - name: Build syncthing in OmniOS VM
      uses: vmactions/omnios-vm@
      with:
        usesh: true
        prepare: |
          pkg set-publisher -g https://pkg.omnios.org/r151054/extra extra.omnios
          pkg install developer/go-124
        run: |
          git clone git@github.com:syncthing/syncthing.git
          cd syncthing

```

Adding steps to publish et cetera, of course.

---

<div class="post-metadata">

### Author: ![rasa](https://forum.syncthing.net/user_avatar/forum.syncthing.net/rasa/32/10531_2.png) [@rasa](https://forum.syncthing.net/u/rasa)
#### Post date: [August 11, 2025, 11:14pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/7 "2025-08-11T23:14:30Z")

</div>

I [use](https://github.com/rasa/compat/blob/main/.github/workflows/test-illumos.yml) vmactions/omnios-vm to run my unit tests for my [rasa/compat](https://github.com/rasa/compat) package. It [works](https://github.com/rasa/compat/actions/runs/16894225149/job/47860815128) great.

I also use vmactions to run my tests on dragonflybsd, freebsd, netbsd, and openbsd. Let me know if there’s interest in a PR that would allow us to run our tests in these VMs and I’d be happy to submit one.

---

<div class="post-metadata">

### Author: ![trisk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/trisk/32/19296_2.png) [@trisk](https://forum.syncthing.net/u/trisk)
#### Post date: [August 15, 2025, 6:57pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/8 "2025-08-15T18:57:11Z")

</div>

@calmh thoughts on the vmactions solution?

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [August 15, 2025, 7:21pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/9 "2025-08-15T19:21:02Z")

</div>

If you want to add a “build packages” step like the others we have in the workflow, and it builds packages, and those work, then I think we can incorporate that.

---

<div class="post-metadata">

### Author: ![trisk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/trisk/32/19296_2.png) [@trisk](https://forum.syncthing.net/u/trisk)
#### Post date: [August 31, 2025, 7:46pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/10 "2025-08-31T19:46:37Z")

</div>

Quick question: a lot of the jobs in .github/workflows/build-syncthing.yaml explicitly build the 3 targets `syncthing stdiscosrv strelaysrv`, is that standard for packaged builds?

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [August 31, 2025, 8:07pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/11 "2025-08-31T20:07:11Z")

</div>

Those are effectively the three things we build for users, yes.

---

<div class="post-metadata">

### Author: ![trisk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/trisk/32/19296_2.png) [@trisk](https://forum.syncthing.net/u/trisk)
#### Post date: [August 31, 2025, 10:29pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/12 "2025-08-31T22:29:23Z")

</div>

OK, I’ve submitted a PR. Hopefully I’ve done this correctly, never worked with GitHub’s CI directly before.

---

<div class="post-metadata">

### Author: ![Lampos](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/51bf81/32.png) [@Lampos](https://forum.syncthing.net/u/Lampos)
#### Post date: [September 12, 2025, 9:42am UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/13 "2025-09-12T09:42:46Z")

</div>

@Albert - if you are looking for a beta-tester to check your syncthing v2-builds for illumos/solaris I am happy to assist. I’m running syncthing on five illumos-machines and could spare one as test system.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [September 12, 2025, 10:05am UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/14 "2025-09-12T10:05:03Z")

</div>

Builds are on [Syncthing | Downloads](https://syncthing.net/downloads/) now

---

<div class="post-metadata">

### Author: ![trisk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/trisk/32/19296_2.png) [@trisk](https://forum.syncthing.net/u/trisk)
#### Post date: [September 13, 2025, 6:01pm UTC](https://forum.syncthing.net/t/illumos-solaris-build-automation/24687/15 "2025-09-13T18:01:43Z")

</div>

I’m using my own instances for illumos tests. If you are able to test on Oracle Solaris, I can try adding that as a build target as well
