Giter Club home page Giter Club logo

1kiss's Introduction

1kiss (1k)

A cross-platform one-click build tool written in PowerShell thats support auto setup general dependent tools(cmake,google gn,ndk,android-sdk,emsdk,ninja,llvm,msvc,xcodebuild,emsdk,...)
The cross-platform build become so easy if you're using 1k!

Best practice:Axmol

for example, if you use git to clone axmol(~80MB) and run it's setup.ps1, then goto root directory of your cmake based project and run:

axmol -p android -a arm64 can build android on any host OS(macOS, Linux, Windows)

Used by

Release build dist Downloads

OSS

  • zlib
  • openssl
  • jpeg-turbo
  • curl
  • luajit
  • angle - Windows Only
  • c-ares
  • dawn - The google WebGPU c++ implementation, test on Windows only, not built on Github Actions
  • llvm - Not built yet

Notes

  • Since v81, use xcframework for apple platforms

Build Targets:

  • osx:
    • arm64 (M1+)
    • x86_64
  • linux: x86_64
  • ios:
    • arm64
    • arm64 simulator
    • x86_64 simulator
  • tvos:
    • arm64
    • arm64 simulator
    • x86_64 simulator
  • android
    • armv7
    • arm64
    • x86 (DEPRECATED)
    • x86_64
  • win32 (Windows Desktop Apps)
    • x86 (DEPRECATED)
    • x86_64
  • winrt/winuwp (Windows Universal Apps)
    • x86_64
    • arm64

refers

1kiss's People

Contributors

halx99 avatar paulocoutinhox avatar yuchting avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

1kiss's Issues

Workflows are referencing vulnerable actions

Hello, there!

As part of the university research we are currently doing regarding the security of Github Actions, we noticed that one or many of the workflows that are part of this repository are referencing vulnerable versions of the third-party actions. As part of a disclosure process, we decided to open issues to notify GitHub Community.

Please note that there are could be some false positives in our methodology, thus not all of the open issues could be valid. If that is the case, please let us know, so that we can improve on our approach. You can contact me directly using an email: ikoishy [at] ncsu.edu

Thanks in advance

  1. The workflow build-ci.yml is referencing action ilammy/msvc-dev-cmd using references v1.9.0. However this reference is missing the commit 74a501b which may contain fix to the vulnerability.

The vulnerability fix that is missing by actions' versions could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider updating the reference to the action.

If you end up updating the reference, please let us know. We need the stats for the paper :-)

Support for xcframework (macos, ios, tvos, catalyst)

Hi,

We need the xcframework for plataforms (macos x64, macos arm64, ios arm64, ios simulator x64 and arm64, tvos simulator and device x64 and arm64, catalyst x64 and arm64)

  1. Create a library for each platform and use cmake platform selector to specify the correct library for each:
    https://github.com/leetal/ios-cmake/blob/master/ios.toolchain.cmake#L353-L374

  2. Create an IF that check effective platform, example:
    https://github.com/tdlib/td/blob/master/CMake/iOS.cmake#L66-L119

  3. Create a xcframework that is a simple command that unify all .a or .so or .dylib files after you use lipo:
    Do a lipo to join all simulators x64 and arm64 into one lib and after, create the xcframework:

xcodebuild -create-xcframework \
  -library ./libxyz_macos.a \
  -headers ./include/ \
  -library ./libxyz_iossimulator.a \
  -headers ./include/ \
  -library ./libxyz_maccatalyst.a \
  -headers ./include/ \
  -library ./libxyz_tvos.a \
  -headers ./include/ \
  -library ./libxyz_ios.a \
  -headers ./include/ \
  -output XYZ.xcframework

Thanks.

Build for tvOS

Hi,

Do you have any fast contact instead of write message by message?

Thanks.

Support M1 and Android x64

I've updated the buildscripts in my fork of buildware: see https://github.com/pietpukkel/buildware

Buildscript now builds (on my Mac) Mac x64 and arm64 binaries and the distribution scripts make them to fat libraries. I've also added x64 libraries for Android (have not been able to test the results yet). Delete all files in buildsrc after every build.

The only issue that I have is in bulding libjitlua. Building seems to succeed for iOS/Mac but the resulting libs are most likely corrupted. Building for Android fails (for luajit). So these build steps need some TLC from someone with a bit more expertise than I have. I also see no test that actually uses this library.

Assuming the windows powershell scripts only generate the libraries for windows, i have not touched these (or looked at them).

Workflows are referencing vulnerable actions

Hello, there!

As part of the university research we are currently doing regarding the security of Github Actions, we noticed that one or many of the workflows that are part of this repository are referencing vulnerable versions of the third-party actions. As part of a disclosure process, we decided to open issues to notify GitHub Community.

Please note that there are could be some false positives in our methodology, thus not all of the open issues could be valid. If that is the case, please let us know, so that we can improve on our approach. You can contact me directly using an email: ikoishy [at] ncsu.edu

Thanks in advance

  1. The workflow build-ci.yml is referencing action ilammy/msvc-dev-cmd using references v1.9.0. However this reference is missing the commit 74a501b which may contain fix to the vulnerability.

The vulnerability fix that is missing by actions' versions could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider updating the reference to the action.

If you end up updating the reference, please let us know. We need the stats for the paper :-)

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.