-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved macOS tests from CirrusCI to GitHub
Signed-off-by: Alexander Piskun <[email protected]>
- Loading branch information
Showing
3 changed files
with
87 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,3 @@ | ||
test_src_build_full_macos_arm_task: | ||
only_if: "changesInclude( | ||
'ci/cirrus_general_ci.yml', | ||
'libheif/macos/**', | ||
'setup.*', | ||
'pyproject.toml')" | ||
|
||
name: From source(macOS) / macOS:12-arm64 | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-ventura-xcode:14.2 | ||
|
||
env: | ||
PH_FULL_ACTION: 1 | ||
EXP_PH_LIBHEIF_VERSION: "" | ||
|
||
install_libheif_script: | ||
- brew update || true | ||
- brew install libheif | ||
- brew uninstall --force --ignore-dependencies imagemagick libheif | ||
- brew install --formula ./libheif/macos/libheif.rb | ||
install_python_3_11: | ||
- brew install [email protected] | ||
install_pillow_heif_script: | ||
- python3.11 -m pip install -U --break-system-packages pip | ||
- python3.11 -m pip -v install --break-system-packages ".[dev]" | ||
libheif_info_script: | ||
- python3.11 -c "import pillow_heif; print(pillow_heif.libheif_info())" | ||
perform_tests_script: | ||
- python3.11 -m pytest | ||
|
||
test_src_build_lite_macos_arm_task: | ||
only_if: "changesInclude( | ||
'ci/cirrus_general_ci.yml', | ||
'pi-heif/libheif/macos/**', | ||
'pi-heif/setup.cfg', | ||
'setup.py', | ||
'pyproject.toml')" | ||
|
||
name: From source(macOS) / macOS:12-arm64(Pi-Heif) | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-ventura-xcode:14.2 | ||
|
||
env: | ||
PH_LIGHT_ACTION: 1 | ||
EXP_PH_LIBHEIF_VERSION: "" | ||
|
||
transform_to_pi_heif_script: | ||
- cp -r -v ./pi-heif/* . | ||
- python3 .github/transform_to-pi_heif.py | ||
install_libheif_script: | ||
- brew update || true | ||
- brew install libheif | ||
- brew uninstall --force --ignore-dependencies imagemagick libheif x265 aom | ||
- brew install --formula ./libheif/macos/libheif.rb | ||
install_python_3_11: | ||
- brew install [email protected] | ||
- python3.11 -m pip install -U --break-system-packages pip | ||
install_pi_heif_script: | ||
- python3.11 -m pip -v install --break-system-packages ".[tests]" | ||
libheif_info_script: | ||
- python3.11 -c "import pi_heif; print(pi_heif.libheif_info())" | ||
perform_tests_script: | ||
- python3.11 -m pytest | ||
|
||
test_src_build_full_freebsd_task: | ||
only_if: "changesInclude( | ||
'ci/cirrus_general_ci.yml', | ||
|