diff --git a/.github/workflows/build-tool-packages.yml b/.github/workflows/build-tool-packages.yml index 6ca7695..68a2eca 100644 --- a/.github/workflows/build-tool-packages.yml +++ b/.github/workflows/build-tool-packages.yml @@ -72,6 +72,40 @@ jobs: name: ${{ env.ARTIFACT_NAME }} path: ${{ runner.temp }}/artifact + build-arm: + name: Build ${{ inputs.tool-name }} ${{ inputs.tool-version }} [${{ matrix.platform }}] [${{ matrix.architecture }}] + runs-on: windows-latest + #if: (('${{ inputs.tool-name }}' -eq 'go') || ('${{ inputs.tool-name }}' -eq 'node' && '${{ inputs.tool-version }}' -gt '20.0.0')) + if: (inputs.tool-name == 'go') || (inputs.tool-name == 'node' && inputs['tool-version'] > '20.0.0') + env: + ARTIFACT_NAME: ${{ inputs.tool-name }}-${{ inputs.tool-version }}-${{ matrix.platform }}-${{ matrix.architecture }} + strategy: + fail-fast: false + matrix: + include: + - os: windows-latest + platform: win32 + architecture: arm64 + + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - name: Build ${{ inputs.tool-name }} ${{ inputs.tool-version }} + run: | + ./builders/build-${{ inputs.tool-name }}.ps1 -Version ${{ inputs.tool-version }} ` + -Platform ${{ matrix.platform }} ` + -Architecture ${{ matrix.architecture }} + + + - name: Publish artifact + uses: actions/upload-artifact@v3 + with: + name: ${{ env.ARTIFACT_NAME }} + path: ${{ runner.temp }}/artifact + test: name: Test ${{ inputs.tool-name }} ${{ inputs.tool-version }} [${{ matrix.platform }}] needs: build