Skip to content

Commit

Permalink
added GitHub action support for building and testing as KCL on Linux …
Browse files Browse the repository at this point in the history
…arch64 systems

Signed-off-by: Abhishek Kumar <[email protected]>
  • Loading branch information
octonawish-akcodes committed Feb 3, 2024
1 parent 6e44d3e commit db9808b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-test-linux-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build and Test on Linux ARCH64

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build-and-test-arm64:
name: Build and Test on Linux ARM64
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Run custom ARM64 Docker image
run: |
docker run --rm \
-v ${{ github.workspace }}:/workspace -w /workspace \
kcllang/kcl-builder-arm64 \
make && make release
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: kcl-linux-arm64
path: _build/dist/ubuntu/kclvm

0 comments on commit db9808b

Please sign in to comment.