Giter VIP home page Giter VIP logo

Comments (3)

Sloaix avatar Sloaix commented on May 31, 2024

初步定为是交叉编译问题:

~/W/M/G/output ❯❯❯ file gofi-v0.5.0-linux-arm-5
gofi-v0.5.0-linux-arm-5: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 3.2.0, BuildID[sha1]=fba95cfe8f0183f66a5ca596d8c99b0ad70940a8, not stripped
~/W/M/G/output ❯❯❯ file gofi-linux-arm
gofi: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped
~/W/M/G/output ❯❯❯

from gofi.

Sloaix avatar Sloaix commented on May 31, 2024

Gofi使用的交叉编译工具是xgo,因为原作者的xgo不支持Go module特性,本地编译的话需要将项目放在$GoPath/src/目录下才能编译,遂使用了src.techknowlogick.com维护的fork版本,但是fork版本移除了对Android平台的支持。

目前暂时没有办法将Android编译这块整合进GithubActions持续集成中,暂时只能使用原版本的xgo引用Github仓库进行手动编译(xgo支持直接使用远程仓库编译)

from gofi.

Sloaix avatar Sloaix commented on May 31, 2024

解决方案一:构建脚本准备两份,一份为本地使用,一份为GitHubActions环境使用。

from gofi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.