diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f6d83f8..e41ac53c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,13 +33,15 @@ jobs: test-dev-packages: needs: [fetch-version, build-dev-packages] uses: ./.github/workflows/reusable_test_packages.yaml - strategy: - fail-fast: false - matrix: - static: ["static", ""] + # The musl build job is currently disabled because we link libelf dynamically and it is + # not possible to dynamically link with musl + # strategy: + # fail-fast: false + # matrix: + # static: ["static", ""] with: arch: x86_64 - static: ${{ matrix.static != '' && true || false }} + # static: ${{ matrix.static != '' && true || false }} version: ${{ needs.fetch-version.outputs.version }} test-dev-packages-arm64: diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml index 2068547d..37f9ed8c 100644 --- a/.github/workflows/master.yaml +++ b/.github/workflows/master.yaml @@ -31,13 +31,15 @@ jobs: test-dev-packages: needs: [fetch-version, build-dev-packages] uses: ./.github/workflows/reusable_test_packages.yaml - strategy: - fail-fast: false - matrix: - static: ["static", ""] + # The musl build job is currently disabled because we link libelf dynamically and it is + # not possible to dynamically link with musl + # strategy: + # fail-fast: false + # matrix: + # static: ["static", ""] with: arch: x86_64 - static: ${{ matrix.static != '' && true || false }} + # static: ${{ matrix.static != '' && true || false }} version: ${{ needs.fetch-version.outputs.version }} test-dev-packages-arm64: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 84868c39..b614d31f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -69,13 +69,16 @@ jobs: test-packages: needs: [release-settings, build-packages] uses: ./.github/workflows/reusable_test_packages.yaml - strategy: - fail-fast: false - matrix: - static: ["static", ""] + + # The musl build job is currently disabled because we link libelf dynamically and it is + # not possible to dynamically link with musl + # strategy: + # fail-fast: false + # matrix: + # static: ["static", ""] with: arch: x86_64 - static: ${{ matrix.static != '' && true || false }} + # static: ${{ matrix.static != '' && true || false }} version: ${{ github.event.release.tag_name }} test-packages-arm64: diff --git a/.github/workflows/reusable_build_packages.yaml b/.github/workflows/reusable_build_packages.yaml index b39b5cc1..14b74444 100644 --- a/.github/workflows/reusable_build_packages.yaml +++ b/.github/workflows/reusable_build_packages.yaml @@ -118,9 +118,12 @@ jobs: path: | ${{ github.workspace }}/build/falco-*.rpm + # The musl build job is currently disabled because we link libelf dynamically and it is + # not possible to dynamically link with musl build-musl-package: # x86_64 only for now - if: ${{ inputs.arch == 'x86_64' }} + # if: ${{ inputs.arch == 'x86_64' }} + if: false runs-on: ubuntu-latest container: alpine:3.17 steps: diff --git a/.github/workflows/reusable_publish_packages.yaml b/.github/workflows/reusable_publish_packages.yaml index 530e5dd8..11b0bf4f 100644 --- a/.github/workflows/reusable_publish_packages.yaml +++ b/.github/workflows/reusable_publish_packages.yaml @@ -65,7 +65,10 @@ jobs: name: falco-${{ inputs.version }}-aarch64.tar.gz path: /tmp/falco-build-bin + # The musl build job is currently disabled because we link libelf dynamically and it is + # not possible to dynamically link with musl - name: Download static binary x86_64 + if: false uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 with: name: falco-${{ inputs.version }}-static-x86_64.tar.gz @@ -89,8 +92,11 @@ jobs: run: | ./scripts/publish-bin -f /tmp/falco-build-bin/falco-${{ inputs.version }}-x86_64.tar.gz -r bin${{ inputs.bucket_suffix }} -a x86_64 ./scripts/publish-bin -f /tmp/falco-build-bin/falco-${{ inputs.version }}-aarch64.tar.gz -r bin${{ inputs.bucket_suffix }} -a aarch64 - + + # The musl build job is currently disabled because we link libelf dynamically and it is + # not possible to dynamically link with musl - name: Publish static + if: false run: | ./scripts/publish-bin -f /tmp/falco-build-bin-static/falco-${{ inputs.version }}-static-x86_64.tar.gz -r bin${{ inputs.bucket_suffix }} -a x86_64