Skip to content

Commit

Permalink
Enable cythonize
Browse files Browse the repository at this point in the history
  • Loading branch information
niklas2902 committed Nov 10, 2024
1 parent cd28468 commit 11e6c9f
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/nightly-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,20 @@ jobs:
- name: Generate files
run: python generate.py -dev_build=True

#- name: Conditional cythonize
# shell: bash
# run: |
# set +e
# python meson_scripts/does_cache_exist.py
# exit_code=$?
# set -e
# if [ $exit_code -eq 0 ]; then
# echo "Cache hit for py4godot/classes directory"
# python cythonize_files.py -mode="cache"
# else
# echo "Cache miss for py4godot/classes directory"
# python cythonize_files.py -mode="dev"
# fi
- name: Conditional cythonize
shell: bash
run: |
set +e
python meson_scripts/does_cache_exist.py
exit_code=$?
set -e
if [ $exit_code -eq 0 ]; then
echo "Cache hit for py4godot/classes directory"
python cythonize_files.py -mode="cache"
else
echo "Cache miss for py4godot/classes directory"
python cythonize_files.py -mode="dev"
fi
- name: Build
run: python build.py --target_platform=darwin64 --compiler=clang -create_plugin=False -buildtype=release
Expand Down

0 comments on commit 11e6c9f

Please sign in to comment.