From 177d5dd0114de0781cc6fb6f533ddd28a513923f Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Sat, 9 Nov 2024 22:00:19 +0100 Subject: [PATCH] don't build on broken platforms Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- .github/workflows/cross-ci.yml | 33 +++++++++++++++++-------------- .github/workflows/nightly.yml | 27 ++++++++++++++----------- .github/workflows/prebuilt-pr.yml | 26 +++++++++++++----------- .github/workflows/release-cd.yml | 26 +++++++++++++----------- 4 files changed, 61 insertions(+), 51 deletions(-) diff --git a/.github/workflows/cross-ci.yml b/.github/workflows/cross-ci.yml index 1a8386f..4a8b3b8 100644 --- a/.github/workflows/cross-ci.yml +++ b/.github/workflows/cross-ci.yml @@ -36,11 +36,12 @@ jobs: target: x86_64-pc-windows-msvc architecture: x86_64 use-cross: false - - os: windows-latest - os-name: windows - target: x86_64-pc-windows-gnu - architecture: x86_64 - use-cross: false + # Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross + # - os: windows-latest + # os-name: windows + # target: x86_64-pc-windows-gnu + # architecture: x86_64 + # use-cross: false - os: macos-13 os-name: macos target: x86_64-apple-darwin @@ -71,16 +72,18 @@ jobs: target: i686-unknown-linux-gnu architecture: i686 use-cross: true - - os: ubuntu-latest - os-name: netbsd - target: x86_64-unknown-netbsd - architecture: x86_64 - use-cross: true - - os: ubuntu-latest - os-name: linux - target: armv7-unknown-linux-gnueabihf - architecture: armv7 - use-cross: true + # Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross + # - os: ubuntu-latest + # os-name: netbsd + # target: x86_64-unknown-netbsd + # architecture: x86_64 + # use-cross: true + # Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross + # - os: ubuntu-latest + # os-name: linux + # target: armv7-unknown-linux-gnueabihf + # architecture: armv7 + # use-cross: true steps: - name: Checkout repository diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 632f60f..86a95ad 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -31,12 +31,13 @@ jobs: architecture: x86_64 binary-postfix: ".exe" use-cross: false - - os: windows-latest - os-name: windows - target: x86_64-pc-windows-gnu - architecture: x86_64 - binary-postfix: ".exe" - use-cross: false + # Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross + # - os: windows-latest + # os-name: windows + # target: x86_64-pc-windows-gnu + # architecture: x86_64 + # binary-postfix: ".exe" + # use-cross: false - os: macos-13 os-name: macos target: x86_64-apple-darwin @@ -74,18 +75,20 @@ jobs: binary-postfix: "" use-cross: true # TODO!: This needs a fix, linking `execinfo` fails + # + Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross # - os: ubuntu-latest # os-name: netbsd # target: x86_64-unknown-netbsd # architecture: x86_64 # binary-postfix: "" # use-cross: true - - os: ubuntu-latest - os-name: linux - target: armv7-unknown-linux-gnueabihf - architecture: armv7 - binary-postfix: "" - use-cross: true + # Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross + # - os: ubuntu-latest + # os-name: linux + # target: armv7-unknown-linux-gnueabihf + # architecture: armv7 + # binary-postfix: "" + # use-cross: true steps: - name: Checkout repository diff --git a/.github/workflows/prebuilt-pr.yml b/.github/workflows/prebuilt-pr.yml index 3831b16..1e2c6d3 100644 --- a/.github/workflows/prebuilt-pr.yml +++ b/.github/workflows/prebuilt-pr.yml @@ -68,18 +68,20 @@ jobs: architecture: i686 binary-postfix: "" use-cross: true - - os: ubuntu-latest - os-name: netbsd - target: x86_64-unknown-netbsd - architecture: x86_64 - binary-postfix: "" - use-cross: true - - os: ubuntu-latest - os-name: linux - target: armv7-unknown-linux-gnueabihf - architecture: armv7 - binary-postfix: "" - use-cross: true + # Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross + # - os: ubuntu-latest + # os-name: netbsd + # target: x86_64-unknown-netbsd + # architecture: x86_64 + # binary-postfix: "" + # use-cross: true + # Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross + # - os: ubuntu-latest + # os-name: linux + # target: armv7-unknown-linux-gnueabihf + # architecture: armv7 + # binary-postfix: "" + # use-cross: true steps: - name: Checkout repository diff --git a/.github/workflows/release-cd.yml b/.github/workflows/release-cd.yml index 4e39ef7..d48bfa0 100644 --- a/.github/workflows/release-cd.yml +++ b/.github/workflows/release-cd.yml @@ -59,18 +59,20 @@ jobs: architecture: i686 binary-postfix: "" use-cross: true - - os: ubuntu-latest - os-name: netbsd - target: x86_64-unknown-netbsd - architecture: x86_64 - binary-postfix: "" - use-cross: true - - os: ubuntu-latest - os-name: linux - target: armv7-unknown-linux-gnueabihf - architecture: armv7 - binary-postfix: "" - use-cross: true + # Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross + # - os: ubuntu-latest + # os-name: netbsd + # target: x86_64-unknown-netbsd + # architecture: x86_64 + # binary-postfix: "" + # use-cross: true + # Disabled for now, as aws-lc-sys needs bindgen-cli for manual build with CMake in cross + # - os: ubuntu-latest + # os-name: linux + # target: armv7-unknown-linux-gnueabihf + # architecture: armv7 + # binary-postfix: "" + # use-cross: true steps: - name: Checkout repository