File tree Expand file tree Collapse file tree 3 files changed +11
-14
lines changed Expand file tree Collapse file tree 3 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 2626 echo "Invalid branch : ${{github.ref_name}}"
2727 exit 1
2828 fi
29- - uses : conda-incubator /setup-miniconda@v3
29+ - uses : actions /setup-python@v5
3030 with :
31- activate-environment : oe-python-plugin
32- python-version : " 3.10"
33- auto-activate-base : false
31+ python-version : ' 3.12'
3432 - name : setup
3533 run : |
3634 sudo apt update
4240 run : |
4341 conda env list
4442 cd Build
45- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DPython_ROOT_DIR="$CONDA/envs/oe-python-plugin" - DCOPY_PYTHON_DL=ON ..
43+ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCOPY_PYTHON_DL=ON ..
4644 make
4745 # - name: test
4846 # run: cd build && ctest
6058 zipfile=${package}_${new_plugin_ver}.zip
6159 echo "zipfile=${zipfile}" >> $GITHUB_ENV
6260 zip -r -X $zipfile plugins shared
63- - uses : actions/upload-artifact@v3
61+ - uses : actions/upload-artifact@v4
6462 with :
6563 name : ${{ env.zipfile }}
6664 path : ${{ env.zipfile }}
Original file line number Diff line number Diff line change 4040 - name : build
4141 run : |
4242 cd Build
43- cmake -G "Xcode" -DPython_ROOT_DIR="${{ env.pythonLocation }}" - DCOPY_PYTHON_DL=ON ..
43+ cmake -G "Xcode" -DCOPY_PYTHON_DL=ON ..
4444 xcodebuild -configuration Release
4545# - name: test
4646# run: cd build && ctest
7575 security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign
7676 security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_CI_KEYCHAIN_PWD build.keychain
7777 /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v plugins/python-processor.bundle --deep --strict --timestamp --options=runtime
78+ /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v shared/libpython3.12.dylib --deep --strict --timestamp --options=runtime
7879
7980 /usr/bin/codesign -dv --verbose=4 plugins/python-processor.bundle
8081
Original file line number Diff line number Diff line change 2929 exit 1
3030 fi
3131 shell : bash
32- - uses : conda-incubator /setup-miniconda@v3
32+ - uses : actions /setup-python@v5
3333 with :
34- activate-environment : oe-python-plugin
35- python-version : " 3.10"
36- auto-activate-base : false
34+ python-version : ' 3.12'
3735 - name : setup
3836 run : |
3937 cd ../..
@@ -47,10 +45,10 @@ jobs:
4745 - name : configure
4846 run : |
4947 cd Build
50- cmake -G "Visual Studio 17 2022" -A x64 -DPython_ROOT_DIR="$CONDA/envs/oe-python-plugin" - DCOPY_PYTHON_DL=ON ..
48+ cmake -G "Visual Studio 17 2022" -A x64 -DCOPY_PYTHON_DL=ON ..
5149 shell : bash
5250 - name : Add msbuild to PATH
53- uses : microsoft/setup-msbuild@v1.1
51+ uses : microsoft/setup-msbuild@v2
5452 - name : build-plugin
5553 run : |
5654 cd Build
7573 powershell Compress-Archive -Path "plugins" -DestinationPath ${zipfile}
7674 powershell Compress-Archive -U -Path "shared" -DestinationPath ${zipfile}
7775 shell : bash
78- - uses : actions/upload-artifact@v3
76+ - uses : actions/upload-artifact@v4
7977 with :
8078 name : ${{ env.zipfile }}
8179 path : ${{ env.zipfile }}
You can’t perform that action at this time.
0 commit comments