Skip to content

Commit

Permalink
🐛: fix manylinux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Isotr0py committed Feb 4, 2024
1 parent 6a3dd84 commit c08087a
Showing 1 changed file with 1 addition and 52 deletions.
53 changes: 1 addition & 52 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,63 +60,12 @@ jobs:
-DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_OPENEXR=OFF
cmake --build build
cmake --install build
# - name: Build libjxl (non-x86)
# if: ${{ !contains(matrix.target, 'x86')}}
# uses: uraimo/[email protected]
# with:
# arch: ${{ matrix.target }}
# distro: ${{ matrix.distro }}

# # Not required, but speeds up builds
# githubToken: ${{ github.token }}

# # Mount the artifacts directory as /artifacts in the container
# dockerRunArgs: |
# --volume "${{ github.workspace }}:/workspace"

# # The shell to run commands with in the container
# shell: /bin/sh

# # Install some dependencies in the container. This speeds up builds if
# # you are also using githubToken. Any dependencies installed here will
# # be part of the container image that gets cached, so subsequent
# # builds don't have to re-install them. The image layer is cached
# # publicly in your project's package repository, so it is vital that
# # no secrets are present in the container state or logs.
# install: |
# case "${{ matrix.distro }}" in
# ubuntu*|jessie|stretch|buster|bullseye)
# apt-get update -q -y
# apt-get install -q -y git build-essential
# ;;
# fedora*)
# dnf -y update
# dnf -y install git which
# ;;
# alpine*)
# apk update
# apk add git
# ;;
# esac

# # Produce a binary artifact and place it in the mounted volume
# run: |
# cd /workspace
# apt-get install -y cmake ninja-build
# git clone --recurse-submodules --depth 1 -b v0.9.1 https://github.com/libjxl/libjxl.git
# cd libjxl
# cmake -B build -G Ninja -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF \
# -DJPEGXL_ENABLE_TOOLS=OFF -DJPEGXL_ENABLE_DOXYGEN=OFF -DJPEGXL_ENABLE_MANPAGES=OFF \
# -DJPEGXL_ENABLE_BENCHMARKS=OFF -DJPEGXL_ENABLE_EXAMPLES=OFF -DJPEGXL_ENABLE_JNI=OFF \
# -DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_OPENEXR=OFF
# cmake --build build
# cmake --install build
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
container: ${{ matrix.docker_image }}
args: --release --out dist --find-interpreter
manylinux: auto
docker-options: |
Expand Down

0 comments on commit c08087a

Please sign in to comment.