From 0274866b5238a287c8443b683a291a71b5c1fd3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Kry=C5=84ski?= Date: Mon, 19 Feb 2024 00:05:31 +0100 Subject: [PATCH] add cross-build workflow --- .github/workflows/cross-build.yml | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/cross-build.yml diff --git a/.github/workflows/cross-build.yml b/.github/workflows/cross-build.yml new file mode 100644 index 0000000000000..5b934958d8acf --- /dev/null +++ b/.github/workflows/cross-build.yml @@ -0,0 +1,43 @@ +name: llvm_cross_build +on: + workflow_dispatch: + inputs: + llvm_mos_repo: + description: 'llvm-mos repo' + default: 'llvm-mos/llvm-mos' + type: string + llvm_mos_sdk_repo: + description: 'llvm-mos-sdk repo' + default: 'llvm-mos/llvm-mos-sdk' + type: string + llvm_mos_ref: + description: 'llvm-mos ref' + default: 'main' + type: string + llvm_mos_sdk_ref: + description: 'llvm-mos-sdk ref' + default: 'main' + type: string + + +jobs: + amd64_image: + uses: ./.github/workflows/cross-build-llvm-mos.yml + with: + arch: amd64 + secrets: inherit + + arm64_image: + uses: ./.github/workflows/cross-build-llvm-mos.yml + with: + arch: arm64 + secrets: inherit + + final: + runs-on: ubuntu-latest + needs: + - amd64_image + - arm64_image + steps: + - name: hello + run: echo preparing multi-arch image