Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with beta builds? #89

Closed
bend-n opened this issue Jul 18, 2022 · 10 comments
Closed

How to use with beta builds? #89

bend-n opened this issue Jul 18, 2022 · 10 comments

Comments

@bend-n
Copy link

bend-n commented Jul 18, 2022

for instance this

I see

godot-ci/Dockerfile

Lines 22 to 24 in 651e661

ARG GODOT_VERSION="3.4.2"
ARG RELEASE_NAME="stable"
ARG SUBDIR=""
however not quite sure how to set them. Do I image: docker://barichello/godot-ci:3.5/rc6?

@Calinou
Copy link
Collaborator

Calinou commented Jul 18, 2022

There are no container images provided for pre-releases. This means godot-ci can only be used with stable releases.

Now that deployment is automated, we could build container images for pre-releases. However, we need to make sure the latest tag continues pointing to the latest stable release only, not pre-releases.

cc @TheOrioli

@TheOrioli
Copy link
Contributor

TheOrioli commented Jul 19, 2022

@bend-n @Calinou

In this PR #83 a workflow was added that can be used to build pre-releases, I'm not sure who has the power to actually run them in this repo, but I have been running them in mine. The workflow does not overwrite the latest tag https://github.com/TheOrioli/godot-ci/actions/workflows/manual_build.yml

Images are available on :

I use them like this in my workflows:

  build:
    strategy:
      matrix:
        include:
          - template: windows
            export_name: $EXPORT_NAME.exe
      fail-fast: true
    name: Build ${{ matrix.template }}
    runs-on: ubuntu-latest
    needs: [version]
    container:
      image: ghcr.io/theorioli/godot-ci:mono-3.5.rc6

EDIT: Once the Manual Build workflow is ran in this repository the abarichello Docker and GHCR images will work properly

@bend-n
Copy link
Author

bend-n commented Jul 19, 2022

@TheOrioli

Having a few issues... does it download the templates?

@TheOrioli
Copy link
Contributor

@bend-n your GODOT_VERSION is still set to 3.4.4 in the workflow, change that to GODOT_VERSION: 3.5.rc6

@bend-n
Copy link
Author

bend-n commented Jul 19, 2022

@TheOrioli

I still have the problem of /root/.local/share/godot/templates being completly empty...

PS: the line the link points to is the results of ls -l /root/.local/share/godot/templates
Oh wait, its actually ~/.. Lets see what happens if i change it..

@TheOrioli
Copy link
Contributor

@bend-n this is the setup step in my builds

 - name: Setup
      shell: bash
      run: |
        mkdir -v -p ~/.local/share/godot/templates
        mv /root/.local/share/godot/templates/${GODOT_VERSION}.mono ~/.local/share/godot/templates/${GODOT_VERSION}.mono

I use the mono version, so it should be just removing the .mono at the end of the lines

@bend-n
Copy link
Author

bend-n commented Jul 19, 2022

@TheOrioli
Copy link
Contributor

@bend-n I have not seen that error before.

I see two things that could be messy:

  1. ERROR: Cannot open file 'res://.import/Capture.ogg-f2e17ec5719fd0451670492ce185e886.oggstr'.
    at: get_dependencies (core/io/resource_format_binary.cpp:984)

  2. WARNING: Resources Modification: Could not start rcedit executable, configure rcedit path in the Editor Settings (Export > Windows > Rcedit).

the Rcedit one is much easier to debug, it's just a setting you can manually disable in the export config in the godot project export settings.
image

@bend-n
Copy link
Author

bend-n commented Jul 19, 2022

The import errors are normal, i ignore the .import

@bend-n
Copy link
Author

bend-n commented Jul 19, 2022

I got it 🥳

@bend-n bend-n closed this as completed Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants