tirbofish/dropbear · diff
push on tag to not drain my gh actions and update readme to include nightly link
Signature present but could not be verified.
Unverified
@@ -2,7 +2,9 @@ name: Build Executables on: - push: {} + push: + tags: + - '*' pull_request: {} jobs: @@ -57,18 +59,26 @@ jobs: - name: Build eucalyptus run: cargo build --release --package eucalyptus --target ${{ matrix.target }} - - name: Download and extract russimp dynamic lib + + - name: Download and extract russimp dynamic lib (Windows/Linux) + if: matrix.os != 'macos-latest' && matrix.russimp_url != '' run: | curl -L -o russimp.tar.gz ${{ matrix.russimp_url }} tar -xzf russimp.tar.gz - if: ${{ matrix.russimp_url != '' }} + + - name: Download README.md from gist (macOS) + if: matrix.os == 'macos-latest' + run: | + curl -L -o README.md https://gist.github.com/4tkbytes/05576d43fa12e7e2331dd7eb4e606bca/raw/README.md - name: Prepare artifact run: | mkdir dist cp target/${{ matrix.target }}/release/redback${{ matrix.ext }} dist/ cp target/${{ matrix.target }}/release/eucalyptus${{ matrix.ext }} dist/ - if [ "${{ matrix.russimp_file }}" != "" ]; then + if [ "${{ matrix.os }}" = "macos-latest" ]; then + cp README.md dist/ + elif [ "${{ matrix.russimp_file }}" != "" ]; then find . -name "${{ matrix.russimp_file }}" -exec cp {} dist/ \; fi shell: bash @@ -6,18 +6,23 @@ If you might have not realised, all the crates/projects names are after Australi ## Related projects - - [eucalyptus](https://github.com/4tkbytes/dropbear/tree/main/eucalyptus) is the visual editor used to create games visually, taking inspiration from Unity and other engines. - - [redback](https://github.com/4tkbytes/dropbear/tree/main/redback) is the build system used by [eucalyptus](https://github.com/4tkbytes/dropbear/tree/main/eucalyptus) to bind, build and ship games made with the engine. - - ## Build - - To build, clone the repository, then build it. It will build in debug mode, and use a lot of packages, so if your CPU is not fast enough for building you should brew a cup of coffee during the build time. - ```bash - git clone git@github.com:4tkbytes/dropbear - cd dropbear - # this will build all the projects in the workspace, including eucalyptus and redback. - cargo build - ``` +- [eucalyptus](https://github.com/4tkbytes/dropbear/tree/main/eucalyptus) is the visual editor used to create games visually, taking inspiration from Unity and other engines. +- [redback](https://github.com/4tkbytes/dropbear/tree/main/redback) is the build system used by [eucalyptus](https://github.com/4tkbytes/dropbear/tree/main/eucalyptus) to bind, build and ship games made with the engine. + +## Build + +To build, clone the repository, then build it. It will build in debug mode, and use a lot of packages, so if your CPU is not fast enough for building you should brew a cup of coffee during the build time. + +```bash +git clone git@github.com:4tkbytes/dropbear +cd dropbear +# this will build all the projects in the workspace, including eucalyptus and redback. +cargo build +``` + +If you do not want to build it locally, you are able to download the latest action build (if no releases have been made). + +[nightly.link](https://nightly.link/4tkbytes/dropbear/workflows/create_executable.yaml/main?preview) ## Usage