diff --git a/.github/manylinux.yml b/.github/manylinux.yml new file mode 100644 index 00000000..4154082d --- /dev/null +++ b/.github/manylinux.yml @@ -0,0 +1,5 @@ +- name: Install perl-IPC-Cmd on manylinux + if: contains(matrix.container.image, 'manylinux') + run: | + yum install -y perl-IPC-Cmd + git config --global --add safe.directory /__w/oxide.rs/oxide.rs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc9d1e79..6bdda011 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,6 +125,11 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y echo "$HOME/.cargo/bin" >> $GITHUB_PATH fi + - name: "Install perl-IPC-Cmd on manylinux" + if: "contains(matrix.container.image, 'manylinux')" + run: | + yum install -y perl-IPC-Cmd + git config --global --add safe.directory /__w/oxide.rs/oxide.rs - name: Install dist run: ${{ matrix.install_dist.run }} # Get the dist-manifest diff --git a/dist-workspace.toml b/dist-workspace.toml index a48dc911..79150713 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -13,3 +13,8 @@ installers = [] targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"] # Which actions to run on pull requests pr-run-mode = "plan" +# Install `perl-IPC-Cmd` on manylinux as required to build OpenSSL +github-build-setup = "../manylinux.yml" + +[dist.github-custom-runners.x86_64-unknown-linux-gnu] +container = { image = "quay.io/pypa/manylinux_2_28_x86_64", host = "x86_64-unknown-linux-musl" }