From 1a0b5e3f9d0b0940f3259ae128dbdb9712a2cd7f Mon Sep 17 00:00:00 2001 From: Fantix King Date: Tue, 2 Jul 2024 12:37:08 -0400 Subject: [PATCH] debug --- .github/workflows/dryrun.yml | 1192 +--------------------------------- 1 file changed, 26 insertions(+), 1166 deletions(-) diff --git a/.github/workflows/dryrun.yml b/.github/workflows/dryrun.yml index d7f5698dcf83..b541dacf942d 100644 --- a/.github/workflows/dryrun.yml +++ b/.github/workflows/dryrun.yml @@ -393,907 +393,55 @@ jobs: - build-debian-buster-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_debian_buster_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "buster" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-debian-buster-x86_64 - path: artifacts/debian-buster - - build-debian-buster-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_debian_buster_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "buster" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-debian-buster-aarch64 - path: artifacts/debian-buster - - build-debian-bullseye-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_debian_bullseye_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "bullseye" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-debian-bullseye-x86_64 - path: artifacts/debian-bullseye - - build-debian-bullseye-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_debian_bullseye_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "bullseye" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-debian-bullseye-aarch64 - path: artifacts/debian-bullseye - - build-debian-bookworm-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_debian_bookworm_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "bookworm" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-debian-bookworm-x86_64 - path: artifacts/debian-bookworm - - build-debian-bookworm-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_debian_bookworm_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "bookworm" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-debian-bookworm-aarch64 - path: artifacts/debian-bookworm - - build-ubuntu-bionic-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_ubuntu_bionic_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "bionic" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-ubuntu-bionic-x86_64 - path: artifacts/ubuntu-bionic - - build-ubuntu-bionic-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_ubuntu_bionic_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "bionic" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-ubuntu-bionic-aarch64 - path: artifacts/ubuntu-bionic - - build-ubuntu-focal-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_ubuntu_focal_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "focal" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-ubuntu-focal-x86_64 - path: artifacts/ubuntu-focal - - build-ubuntu-focal-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_ubuntu_focal_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "focal" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-ubuntu-focal-aarch64 - path: artifacts/ubuntu-focal - - build-ubuntu-jammy-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_ubuntu_jammy_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "jammy" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-ubuntu-jammy-x86_64 - path: artifacts/ubuntu-jammy - - build-ubuntu-jammy-aarch64: - runs-on: ubuntu-latest - needs: prep - - if: needs.prep.outputs.if_ubuntu_jammy_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "jammy" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-ubuntu-jammy-aarch64 - path: artifacts/ubuntu-jammy - - build-ubuntu-noble-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_ubuntu_noble_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "noble" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-ubuntu-noble-x86_64 - path: artifacts/ubuntu-noble - - build-ubuntu-noble-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_ubuntu_noble_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "noble" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-ubuntu-noble-aarch64 - path: artifacts/ubuntu-noble - - build-centos-8-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_centos_8_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "centos" - PKG_PLATFORM_VERSION: "8" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-centos-8-x86_64 - path: artifacts/centos-8 - - build-centos-8-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_centos_8_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "centos" - PKG_PLATFORM_VERSION: "8" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-centos-8-aarch64 - path: artifacts/centos-8 - - build-rockylinux-9-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_rockylinux_9_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "rockylinux" - PKG_PLATFORM_VERSION: "9" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-rockylinux-9-x86_64 - path: artifacts/rockylinux-9 - - build-rockylinux-9-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_rockylinux_9_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "rockylinux" - PKG_PLATFORM_VERSION: "9" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-rockylinux-9-aarch64 - path: artifacts/rockylinux-9 - - build-linux-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_linux_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/linux-x86_64@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "linux" - PKG_PLATFORM_VERSION: "x86_64" - EXTRA_OPTIMIZATIONS: "true" - BUILD_GENERIC: true - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-linux-x86_64 - path: artifacts/linux-x86_64 - - build-linux-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_linux_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/linux-aarch64@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "linux" - PKG_PLATFORM_VERSION: "aarch64" - EXTRA_OPTIMIZATIONS: "true" - BUILD_GENERIC: true - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-linux-aarch64 - path: artifacts/linux-aarch64 - - build-linuxmusl-x86_64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - needs: prep - - if: needs.prep.outputs.if_linuxmusl_x86_64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-x86_64@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "linux" - PKG_PLATFORM_VERSION: "x86_64" - EXTRA_OPTIMIZATIONS: "true" - BUILD_GENERIC: true - PKG_PLATFORM_LIBC: "musl" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-linuxmusl-x86_64 - path: artifacts/linuxmusl-x86_64 - - build-linuxmusl-aarch64: - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - needs: prep - - if: needs.prep.outputs.if_linuxmusl_aarch64 == 'true' - - - steps: - - name: Build - uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-aarch64@master - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "linux" - PKG_PLATFORM_VERSION: "aarch64" - EXTRA_OPTIMIZATIONS: "true" - BUILD_GENERIC: true - PKG_PLATFORM_LIBC: "musl" - METAPKG_GIT_CACHE: disabled - - - uses: actions/upload-artifact@v4 - with: - name: builds-linuxmusl-aarch64 - path: artifacts/linuxmusl-aarch64 - - build-macos-x86_64: - runs-on: ['macos-13'] - needs: prep - - if: needs.prep.outputs.if_macos_x86_64 == 'true' - - - steps: - - uses: actions/checkout@v4 - with: - repository: edgedb/edgedb-pkg - ref: master - path: edgedb-pkg - - - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 - if: true - with: - components: "cargo,rustc,rust-std" - toolchain: "stable" - targets: "x86_64-apple-darwin" - - - name: Set up Python - uses: actions/setup-python@v5 - if: true - with: - python-version: "3.x" - - - name: Set up NodeJS - uses: actions/setup-node@v4 - if: true - with: - node-version: '20' - - - name: Install dependencies - if: true - run: | - env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic - - - name: Build - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "macos" - PKG_PLATFORM_VERSION: "x86_64" - PKG_PLATFORM_ARCH: "x86_64" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - BUILD_GENERIC: true - run: | - edgedb-pkg/integration/macos/build.sh - - - uses: actions/upload-artifact@v4 - with: - name: builds-macos-x86_64 - path: artifacts/macos-x86_64 - - build-macos-aarch64: - runs-on: ['macos-14'] - needs: prep - - if: needs.prep.outputs.if_macos_aarch64 == 'true' - - - steps: - - uses: actions/checkout@v4 - with: - repository: edgedb/edgedb-pkg - ref: master - path: edgedb-pkg - - - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 - if: true - with: - components: "cargo,rustc,rust-std" - toolchain: "stable" - targets: "aarch64-apple-darwin" - - - name: Set up Python - uses: actions/setup-python@v5 - if: true - with: - python-version: "3.x" - - - name: Set up NodeJS - uses: actions/setup-node@v4 - if: true - with: - node-version: '20' - - - name: Install dependencies - if: true - run: | - env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic - - - name: Build - env: - SRC_REF: "${{ needs.prep.outputs.branch }}" - PKG_REVISION: "" - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "macos" - PKG_PLATFORM_VERSION: "aarch64" - PKG_PLATFORM_ARCH: "aarch64" - EXTRA_OPTIMIZATIONS: "true" - METAPKG_GIT_CACHE: disabled - BUILD_GENERIC: true - run: | - edgedb-pkg/integration/macos/build.sh - - - uses: actions/upload-artifact@v4 - with: - name: builds-macos-aarch64 - path: artifacts/macos-aarch64 - - test-debian-buster-x86_64: - needs: [build-debian-buster-x86_64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-debian-buster-x86_64 - path: artifacts/debian-buster - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "buster" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-debian-buster-aarch64: - needs: [build-debian-buster-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-debian-buster-aarch64 - path: artifacts/debian-buster - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "buster" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-debian-bullseye-x86_64: - needs: [build-debian-bullseye-x86_64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-debian-bullseye-x86_64 - path: artifacts/debian-bullseye - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "bullseye" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-debian-bullseye-aarch64: - needs: [build-debian-bullseye-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-debian-bullseye-aarch64 - path: artifacts/debian-bullseye - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "bullseye" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-debian-bookworm-x86_64: - needs: [build-debian-bookworm-x86_64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-debian-bookworm-x86_64 - path: artifacts/debian-bookworm - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "bookworm" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-debian-bookworm-aarch64: - needs: [build-debian-bookworm-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-debian-bookworm-aarch64 - path: artifacts/debian-bookworm - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "debian" - PKG_PLATFORM_VERSION: "bookworm" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-ubuntu-bionic-x86_64: - needs: [build-ubuntu-bionic-x86_64] + build-ubuntu-noble-x86_64: runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + needs: prep - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-ubuntu-bionic-x86_64 - path: artifacts/ubuntu-bionic - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "bionic" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 + if: needs.prep.outputs.if_ubuntu_noble_x86_64 == 'true' - test-ubuntu-bionic-aarch64: - needs: [build-ubuntu-bionic-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] steps: - - uses: actions/download-artifact@v4 - with: - name: builds-ubuntu-bionic-aarch64 - path: artifacts/ubuntu-bionic - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" PKG_SUBDIST: "nightly" PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "bionic" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-ubuntu-focal-x86_64: - needs: [build-ubuntu-focal-x86_64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + METAPKG_GIT_CACHE: disabled - steps: - - uses: actions/download-artifact@v4 + - uses: actions/upload-artifact@v4 with: - name: builds-ubuntu-focal-x86_64 - path: artifacts/ubuntu-focal - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "focal" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 + name: builds-ubuntu-noble-x86_64 + path: artifacts/ubuntu-noble - test-ubuntu-focal-aarch64: - needs: [build-ubuntu-focal-aarch64] + build-ubuntu-noble-aarch64: runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] + needs: prep - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-ubuntu-focal-aarch64 - path: artifacts/ubuntu-focal - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "focal" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 + if: needs.prep.outputs.if_ubuntu_noble_aarch64 == 'true' - test-ubuntu-jammy-x86_64: - needs: [build-ubuntu-jammy-x86_64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] steps: - - uses: actions/download-artifact@v4 - with: - name: builds-ubuntu-jammy-x86_64 - path: artifacts/ubuntu-jammy - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master + - name: Build + uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-noble@master env: + SRC_REF: "${{ needs.prep.outputs.branch }}" + PKG_REVISION: "" PKG_SUBDIST: "nightly" PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "jammy" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-ubuntu-jammy-aarch64: - needs: [build-ubuntu-jammy-aarch64] - runs-on: ubuntu-latest + PKG_PLATFORM_VERSION: "noble" + EXTRA_OPTIMIZATIONS: "true" + METAPKG_GIT_CACHE: disabled - steps: - - uses: actions/download-artifact@v4 + - uses: actions/upload-artifact@v4 with: - name: builds-ubuntu-jammy-aarch64 - path: artifacts/ubuntu-jammy + name: builds-ubuntu-noble-aarch64 + path: artifacts/ubuntu-noble - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "ubuntu" - PKG_PLATFORM_VERSION: "jammy" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 1 test-ubuntu-noble-x86_64: needs: [build-ubuntu-noble-x86_64] @@ -1336,291 +484,3 @@ jobs: # edb test with -j higher than 1 seems to result in workflow # jobs getting killed arbitrarily by Github. PKG_TEST_JOBS: 0 - - test-centos-8-x86_64: - needs: [build-centos-8-x86_64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-centos-8-x86_64 - path: artifacts/centos-8 - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "centos" - PKG_PLATFORM_VERSION: "8" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-centos-8-aarch64: - needs: [build-centos-8-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-centos-8-aarch64 - path: artifacts/centos-8 - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "centos" - PKG_PLATFORM_VERSION: "8" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-rockylinux-9-x86_64: - needs: [build-rockylinux-9-x86_64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-rockylinux-9-x86_64 - path: artifacts/rockylinux-9 - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "rockylinux" - PKG_PLATFORM_VERSION: "9" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-rockylinux-9-aarch64: - needs: [build-rockylinux-9-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-rockylinux-9-aarch64 - path: artifacts/rockylinux-9 - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "rockylinux" - PKG_PLATFORM_VERSION: "9" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-linux-x86_64: - needs: [build-linux-x86_64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-linux-x86_64 - path: artifacts/linux-x86_64 - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/linux-x86_64@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "linux" - PKG_PLATFORM_VERSION: "x86_64" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-linux-aarch64: - needs: [build-linux-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-linux-aarch64 - path: artifacts/linux-aarch64 - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/linux-aarch64@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "linux" - PKG_PLATFORM_VERSION: "aarch64" - PKG_PLATFORM_LIBC: "" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-linuxmusl-x86_64: - needs: [build-linuxmusl-x86_64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'x64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-linuxmusl-x86_64 - path: artifacts/linuxmusl-x86_64 - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-x86_64@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "linux" - PKG_PLATFORM_VERSION: "x86_64" - PKG_PLATFORM_LIBC: "musl" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-linuxmusl-aarch64: - needs: [build-linuxmusl-aarch64] - runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64'] - - steps: - - uses: actions/download-artifact@v4 - with: - name: builds-linuxmusl-aarch64 - path: artifacts/linuxmusl-aarch64 - - - name: Test - uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-aarch64@master - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "linux" - PKG_PLATFORM_VERSION: "aarch64" - PKG_PLATFORM_LIBC: "musl" - # edb test with -j higher than 1 seems to result in workflow - # jobs getting killed arbitrarily by Github. - PKG_TEST_JOBS: 0 - - test-macos-x86_64: - needs: [build-macos-x86_64] - runs-on: ['macos-13'] - - steps: - - uses: actions/checkout@v4 - with: - repository: edgedb/edgedb-pkg - ref: master - path: edgedb-pkg - - - uses: actions/download-artifact@v4 - with: - name: builds-macos-x86_64 - path: artifacts/macos-x86_64 - - - name: Test - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "macos" - PKG_PLATFORM_VERSION: "x86_64" - # Run fewer tests on x86_64, since the test runner is very slow. - PKG_TEST_FILES: "test_dump*.py test_backend_*.py test_database.py test_server_*.py test_edgeql_ddl.py test_session.py" - run: | - # Bump shmmax and shmall to avoid test failures. - sudo sysctl -w kern.sysv.shmmax=12582912 - sudo sysctl -w kern.sysv.shmall=12582912 - edgedb-pkg/integration/macos/test.sh - - test-macos-aarch64: - needs: [build-macos-aarch64] - runs-on: ['macos-14'] - - steps: - - uses: actions/checkout@v4 - with: - repository: edgedb/edgedb-pkg - ref: master - path: edgedb-pkg - - - uses: actions/download-artifact@v4 - with: - name: builds-macos-aarch64 - path: artifacts/macos-aarch64 - - - name: Test - env: - PKG_SUBDIST: "nightly" - PKG_PLATFORM: "macos" - PKG_PLATFORM_VERSION: "aarch64" - run: | - edgedb-pkg/integration/macos/test.sh - - workflow-notifications: - if: failure() && github.event_name != 'pull_request' - name: Notify in Slack on failures - - needs: - - prep - - build-debian-buster-x86_64 - - test-debian-buster-x86_64 - - build-debian-buster-aarch64 - - test-debian-buster-aarch64 - - build-debian-bullseye-x86_64 - - test-debian-bullseye-x86_64 - - build-debian-bullseye-aarch64 - - test-debian-bullseye-aarch64 - - build-debian-bookworm-x86_64 - - test-debian-bookworm-x86_64 - - build-debian-bookworm-aarch64 - - test-debian-bookworm-aarch64 - - build-ubuntu-bionic-x86_64 - - test-ubuntu-bionic-x86_64 - - build-ubuntu-bionic-aarch64 - - test-ubuntu-bionic-aarch64 - - build-ubuntu-focal-x86_64 - - test-ubuntu-focal-x86_64 - - build-ubuntu-focal-aarch64 - - test-ubuntu-focal-aarch64 - - build-ubuntu-jammy-x86_64 - - test-ubuntu-jammy-x86_64 - - build-ubuntu-jammy-aarch64 - - test-ubuntu-jammy-aarch64 - - build-ubuntu-noble-x86_64 - - test-ubuntu-noble-x86_64 - - build-ubuntu-noble-aarch64 - - test-ubuntu-noble-aarch64 - - build-centos-8-x86_64 - - test-centos-8-x86_64 - - build-centos-8-aarch64 - - test-centos-8-aarch64 - - build-rockylinux-9-x86_64 - - test-rockylinux-9-x86_64 - - build-rockylinux-9-aarch64 - - test-rockylinux-9-aarch64 - - build-linux-x86_64 - - test-linux-x86_64 - - build-linux-aarch64 - - test-linux-aarch64 - - build-linuxmusl-x86_64 - - test-linuxmusl-x86_64 - - build-linuxmusl-aarch64 - - test-linuxmusl-aarch64 - - build-macos-x86_64 - - test-macos-x86_64 - - build-macos-aarch64 - - test-macos-aarch64 - runs-on: ubuntu-latest - permissions: - actions: 'read' - steps: - - name: Slack Workflow Notification - uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309 - with: - repo_token: ${{secrets.GITHUB_TOKEN}} - slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}} - name: 'Workflow notifications' - icon_emoji: ':hammer:' - include_jobs: 'on-failure'