Skip to content

Testing different alpine build jobs #503

Testing different alpine build jobs

Testing different alpine build jobs #503

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- run: yarn install
- run: yarn install
working-directory: test/crashtracker
- run: yarn lint
build-test-wasm:
runs-on: ubuntu-latest
strategy:
matrix:
crate:
- library_config
- datadog-js-zstd
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 'Use composite action'
uses: ./.github/actions/build-test-wasm
with:
crate: '${{ matrix.crate }}'
build:
uses: Datadog/action-prebuildify/.github/workflows/build.yml@2614df2e5bd1b07480e2a1e8e0fa487316468ea0

Check failure on line 36 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build.yml" -> "Datadog/action-prebuildify/.github/workflows/build.yml@2614df2e5bd1b07480e2a1e8e0fa487316468ea0" : (Line: 287, Col: 9): Job 'alpine-test' depends on job 'prebuilds' which creates a cycle in the dependency graph., (Line: 305, Col: 9): Job 'centos-test' depends on job 'prebuilds' which creates a cycle in the dependency graph., (Line: 348, Col: 9): Job 'linux-arm64-test' depends on job 'prebuilds' which creates a cycle in the dependency graph., (Line: 365, Col: 9): Job 'linux-x64-test' depends on job 'prebuilds' which creates a cycle in the dependency graph., (Line: 382, Col: 9): Job 'darwin-x64-test' depends on job 'prebuilds' which creates a cycle in the dependency graph., (Line: 428, Col: 9): Job 'win32-test' depends on job 'prebuilds' which creates a cycle in the dependency graph., (Line: 449, Col: 9): Job 'prebuilds' depends on unknown job 'linuxmusl-x64'., (Line: 450, Col: 9): Job 'prebuilds' depends on unknown job 'linuxmusl-arm64'.
needs: build-test-wasm
with:
package-manager: 'yarn'
cache: false
min-node-version: 18
rust: true
only: darwin-arm64,darwin-x64,linux-arm64,linux-x64
# Need this, now that libdatadog packages libunwind as a submodule
prebuild: '(command -v apk >/dev/null && apk add autoconf automake libtool) || (command -v apt-get >/dev/null && apt-get update && apt-get install -y autoconf automake libtool) || true'
package-size:
runs-on: ubuntu-latest
needs: build
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- run: yarn install
- name: Compute module size tree and report
uses: qard/heaviest-objects-in-the-universe@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}