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

fix agent being built for 32 bit linux for real #847

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Conversation

umbynos
Copy link
Contributor

@umbynos umbynos commented Oct 23, 2023

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • Tests for the changes have been added (for bug fixes / features)
  • What kind of change does this PR introduce?

bugfix 🐞

  • What is the current behavior?

The agent builds after 1.2.7 on linux have different kind of problems:

  1. 1.3.0, 1.3.1, 1.3.2 are being built for linux 32 bit (see Agent installer built for linux 32-bit after version 1.2.7 #803)
  2. 1.3.3 does not contain the agent binaries (see Create Agent v1.3.3 Linux installers do not contain Arduino_Create_Agent executable #846)
  • What is the new behavior?

I thought to have fixed #803, in the installer repo, but the regression comes from this change (note the argument to installbuilder has been changed from linux-x64 to linux).
This PR will

  1. fix Agent installer built for linux 32-bit after version 1.2.7 #803 once and for-all.
  2. Fix Create Agent v1.3.3 Linux installers do not contain Arduino_Create_Agent executable #846: by generating the installer for the right platform the binaries will be included (tested locally and updated the 1.3.3 release artifacts with the manually produced ones).
  • Does this PR introduce a breaking change?

no

  • Other information:

@umbynos umbynos added os: linux Specific to Linux operating system topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project labels Oct 23, 2023
@umbynos umbynos self-assigned this Oct 23, 2023
@umbynos umbynos merged commit 08bddd6 into main Oct 25, 2023
1 check passed
@umbynos umbynos deleted the fix-32-bit-linux branch October 25, 2023 10:17
@@ -394,7 +394,11 @@ jobs:
# installbuilder reads the env vars with certs paths and use it to sign the installer.
- name: Launch Bitrock installbuilder
run: |
${{ env.INSTALLBUILDER_PATH }} build installer.xml ${{ matrix.platform-name }} --verbose --license /tmp/license.xml --setvars ${{ env.INSTALLER_VARS }} architecture=${{ matrix.arch }}
if [[ ${{matrix.platform-name}} == "linux" ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this condition is wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: linux Specific to Linux operating system topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
2 participants