Could not find snap/snapcraft.yaml

Hello, I am trying to build a snap for gtk-gnutella using snapcraft-github integration. I followed the instructions here https://docs.snapcraft.io/build-snaps/ci-integration but while requesting builds for either i386 or amd64 (Xenial) in Launchpad, the log gives me errors like this:

Running pull phase…
Could not find snap/snapcraft.yaml. Are you sure you are in the right directory?
To start a new project, use snapcraft init
Build failed

Anyone can help?

Lucio

At least on build.snapcraft.io it only supports three locations of the snapcraft yaml source:

  • /.snapcraft.yaml
  • /snapcraft.yaml
  • /snap/snapcraft.yaml

REFER: build.snapcraft.io doesn’t allow custom snapcraft.yaml location · Issue #1094 · canonical-websites/build.snapcraft.io