Compile Zola with GitHub action

Hi there,

Not sure if I’m in the right place to ask that but I’m still trying ^^

I’m actually starting to using a custom version of Zola (with a patch for accentuated list and some other things to come), you can found it here: GitHub - Awea/zola: A fast static site generator in a single binary with everything built-in.

To easily share the released version with a friend I started to used GitHub actions to automatically create a release. But I’m getting an error which I’m unable to solve (since I’m new to Rust and all) when I start the release for macOs. Here is the error:

dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/foo/Desktop/./zola (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/foo/Desktop/./zola (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

Any hints will be very appreciated :slight_smile:

I’ve tried building some Rust project with GH actions but I quickly ran into issues with releases for https://github.com/Keats/kickstart so I haven’t tried it for Zola.

I’ve never seen this error before though, can you try to add make/cmake to the job and see if that fixes it?

@keats Thanks for your insights :3 I saw multiple project using GH actions to build their projects (https://github.com/Rigellute/spotify-tui, https://github.com/cjbassi/ytop) so I though why not give it a try.

I have try adding cmake (which seems to be already there) and make (which weren’t there), I’ll see when the workflow is done ^^

Unfortunately the error is the same as before. But It only occurs on macOS 10.13, the release if fine on macOS 10.14.

I ended using Azur like you and this work just fine :slight_smile: