Skip to content

Build failed to compile for Linux using github workflows #8

Description

@RWRmrfrog

Description

Using the build.yml included in this template, GitHub fails to build for Linux distribution. I tried adding targets to the CMakeLists but that still didn't fix the issue.

target_compile_options(${PROJECT_NAME} PRIVATE -stdlib=libc++)
target_link_options(${PROJECT_NAME} PRIVATE -stdlib=libc++)

Before targets:

0_Build on Linux.txt

After adding targets:

1_Build on Linux.txt

Steps to Reproduce

  1. Clone the template
  2. Push a commit to github
  3. Click on the actions tab
  4. Linux build failed

Platform

Linux

Compiler

Clang 18

Endstone Version

0.11.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions