Skip to content
New issue

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

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

Already on GitHub? # to your account

Support for installing 32-bit Elixir on Windows #315

Open
gilbertbw opened this issue Jan 10, 2025 · 1 comment · May be fixed by #316
Open

Support for installing 32-bit Elixir on Windows #315

gilbertbw opened this issue Jan 10, 2025 · 1 comment · May be fixed by #316

Comments

@gilbertbw
Copy link

Is your feature request related to a problem?

I need to build a 32-bit Windows mix release of my project, but this Action only installs the 64bit version of Erlang/OTP and Elixir.

Describe the feature you'd like

I would like the ability to specify which processor architecture of OTP/Erlang to install, when running on windows.

I am picturing something like:

  blah:
    name: Create release
    runs-on: windows-2022
    steps:
    - name: Set up Elixir
      uses: erlef/setup-beam@v1
      with:
        version-type: strict
        otp-version: "27.2"
        elixir-version: "1.18.1-otp-27"
        architecture: "win32"

Describe alternatives you've considered

N/A

Additional context

I think this would require updating install for win32 opt:

'https://github.com/erlang/otp/releases/download/' +
`OTP-${toolVersion}/otp_win64_${toolVersion}.exe`,

to optionally use the win32 version. I see that elixir releases appear to be platform agnostic, so no change is required there?

I see that for Linux bob builds of OTP are used, and bob only builds 64bit releases. So I don't think it's possible to easily support this option for Linux environments.

@gilbertbw
Copy link
Author

I have managed to get this working by hardcoding the URL to ..._win32_...:, gilbertbw@edae29d

@gilbertbw gilbertbw linked a pull request Jan 15, 2025 that will close this issue
1 task
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant