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

export NAME, VERSION, and ARCH before running linuxdeploy #7

Closed
wants to merge 2 commits into from

Conversation

andy5995
Copy link
Member

@andy5995 andy5995 commented Oct 9, 2022

No description provided.

@andy5995
Copy link
Member Author

@probonopd Do you know why exporting NAME in this PR didn't work?

@StanleySweet
Copy link
Member

Have you tried build other arches like aarch64 or powerpc64le?

@andy5995
Copy link
Member Author

Have you tried build other arches like aarch64 or powerpc64le?

Not yet. It doesn't look like other arches are available on GitHub runners https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners

@andy5995
Copy link
Member Author

andy5995 commented Oct 10, 2022

Have you tried build other arches like aarch64 or powerpc64le?

@StanleySweet Though it could be done easily enough with a github self-hosted runner.

https://amperecomputing.com/blogs/2022-07-21/adding-aarch64-to-your-github-ci-with-github-actions-and-ampere-altra.html

Are there any WFG servers that have those architectures?

@StanleySweet
Copy link
Member

Unfortunately, we do not. There is only one server on good old x64

@andy5995
Copy link
Member Author

Unfortunately, we do not. There is only one server on good old x64

@StanleySweet I think it could be done with the docker qemu action

@andy5995
Copy link
Member Author

@StanleySweet Locally, if you run docker run --rm --privileged tonistiigi/binfmt --install all (https://github.com/tonistiigi/binfmt)

Then you can get an arm64 image, for example, docker run -it --rm --platform arm64 ubuntu:jammy

Will get you an arm64 image...

@StanleySweet
Copy link
Member

Interesting. Sorry I didn't make any progress on getting this on the CI....

@andy5995
Copy link
Member Author

andy5995 commented Feb 27, 2023

@StanleySweet No worries. If it becomes a problem for me to maintain, I'll just pause.

If you want to take a shortcut, you can just clone this repo onto one of your servers that has docker installed, and then run `./make-appimage.sh'. It'll spit out a nice official AppImage for you. :) The brief instructions are on the README.

Alternatively, you can click the "use this template" button near the top of the repo. That will give you a "detached" fork, and then it's all yours to do with as you please.

@andy5995
Copy link
Member Author

andy5995 commented Feb 9, 2024

I am close to trying a build on arm64 and arm/v7 in #26 but I may only try with the next official pre-release of 0ad, because I've had too much trouble getting a26 to build with Ubuntu Focal.

@andy5995 andy5995 closed this Feb 9, 2024
@andy5995
Copy link
Member Author

andy5995 commented Feb 9, 2024

Closed, obsolete PR.

@andy5995 andy5995 deleted the export-NAME branch February 9, 2024 09:08
@andy5995
Copy link
Member Author

Have you tried build other arches like aarch64 or powerpc64le?

@StanleySweet Once the amd64 build completes successfully in #26 (comment), I can add 'arm64' to the workflow matrix

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

Successfully merging this pull request may close these issues.

2 participants