-
Notifications
You must be signed in to change notification settings - Fork 132
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
[Enhancement] GitHub Action supports building and testing as KCL on macos-arm64 and Linux arch64 systems. #1015
Comments
Recommended: https://github.com/cross-rs/cross. E.g: build-cross |
Thank you! @baoyachi I'll try it. However, I have found that it also relies on QEMU, and I have not found any support for macos arm64 in CI. If you have any other ideas, please feel free to share them. |
Thank you! I've noticed the Unfortunately, it does not have a |
Hey @Peefy I am new to KCL and learning. I came across this good first issue that I would like to work on. Could you please assign this issue to me and guide me a little bit? |
Thank you! @UtkarshUmre The purpose of this issue is to build a CI script for compiling KCL in a Linux arm64 environment using the |
What I understand is that we need to compile the KCL language code during the continuous integration phase itself in a |
@UtkarshUmre You can add CI scripts as follows using QEMU and the arm docker image: build-and-test-arm64:
name: Test
runs-on: ubuntu-latest
steps:
# QEMU enables you run arm64 image on x86 machines
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: linux/arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Run custom ARM64 Docker image
run: |
docker run --rm \
-v ${{ github.workspace }}:/workspace -w /workspace \
kcllang/kcl-builder-arm64 \
make && make release
- uses: actions/upload-artifact@v3
with:
name: kcl-linux-arm64
path: _build/dist/ubuntu/kclvm
|
Enhancement
kcllang/kcl-builder-arm64
The text was updated successfully, but these errors were encountered: