Adding a new release tag should automatically build and make available Linux and Windows binaries [CICD]

Issue #18 closed
Arthur Nieuwland repo owner created an issue

No description provided.

Comments (3)

  1. Arthur Nieuwland reporter

    First steps towards creating this. I get quite far with the below commands, but then it fails. Apparently it has something to do with fuse not being installed/enabled. Running the container with elevated permissions supposedly helps, but I don’t think it is suitable for Bitbucket.

    $ docker run -it --rm -v <repodir>:/opt:Z registry.fedoraproject.org/fedora-minimal:33
    
    $ microdnf install cargo gtk3-devel flatpak flatpak-builder
    
    [..]
    
    $ mkdir build repo
    
    [..]
    
    $ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
    
    [..]
    
    $ flatpak install -y org.gnome.Sdk/x86_64/3.38 org.gnome.Platform/x86_64/3.38 org.freedesktop.Sdk.Extension.rust-stable/x86_64/20.08
    
    [..]
    
    $ flatpak-builder --arch=x86_64 --repo=repo/ --force-clean build/ eu.nimmerfort.blackbody.json
    Emptying app dir 'build/'
    Downloading sources
    Starting build of eu.nimmerfort.blackbody
    Cache miss, checking out last cache hit
    ========================================================================
    Building module blackbody in /opt/blackbody/.flatpak-builder/build/blackbody-3
    ========================================================================
    bwrap: Creating new namespace failed: Operation not permitted
    Error: module blackbody: Child process exited with code 1
    

  2. Log in to comment