File tree Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 66
66
with :
67
67
python-version : ' 3.9.14'
68
68
architecture : ' x64'
69
+ - name : Install pcregrep
70
+ run : |
71
+ if [[ -z "$(which pcregrep)" ]]; then
72
+ brew install pcre
73
+ else
74
+ echo "$(which pcregrep) already installed."
75
+ fi
69
76
- name : Install Dependencies
70
77
run : |
71
78
INSTALL_FLAGS=()
94
101
- name : Code Sign Application
95
102
if : ${{github.event_name == 'release'}}
96
103
run : |
97
- pil=$(${pythonLocation} -c "import PIL, os; print(os.path.dirname(PIL.__file__))")
104
+ pil=$(${pythonLocation}/bin/python -c "import PIL, os; print(os.path.dirname(PIL.__file__))")
98
105
rm -v ${DISTDIR}/Spyder.app/Contents/Frameworks/liblzma.5.dylib
99
106
cp -v ${pil}/.dylibs/liblzma.5.dylib ${DISTDIR}/Spyder.app/Contents/Frameworks/
100
107
./codesign.sh "${DISTDIR}/Spyder.app"
Original file line number Diff line number Diff line change 97
97
needs :
98
98
- build-matrix
99
99
- build-noarch-pkgs
100
- if : contains(fromJson('["success", "skipped"]'), needs.build-noarch-pkgs.result ) && needs.build-matrix.result == 'success'
100
+ if : ${{ ! failure( ) && ! cancelled() }}
101
101
strategy :
102
102
matrix :
103
103
target-platform : ${{fromJson(needs.build-matrix.outputs.target_platform)}}
@@ -115,12 +115,23 @@ jobs:
115
115
APPLICATION_PWD : ${{ secrets.APPLICATION_PWD }}
116
116
CONSTRUCTOR_TARGET_PLATFORM : ${{ matrix.target-platform }}
117
117
STATUS : ${{ needs.build-noarch-pkgs.result }}
118
+ MAT_STATUS : ${{ needs.build-matrix.result }}
119
+
118
120
steps :
119
121
- name : Checkout Code
120
122
uses : actions/checkout@v3
121
123
with :
122
124
fetch-depth : 0
123
125
126
+ - name : Install pcregrep
127
+ if : runner.os == 'macOS'
128
+ run : |
129
+ if [[ -z "$(which pcregrep)" ]]; then
130
+ brew install pcre
131
+ else
132
+ echo "$(which pcregrep) already installed."
133
+ fi
134
+
124
135
- name : Setup Build Environment
125
136
uses : mamba-org/provision-with-micromamba@main
126
137
with :
Original file line number Diff line number Diff line change @@ -60,8 +60,11 @@ def get_user_environment_variables():
60
60
res = stdout .decode ().strip ().split (os .linesep )
61
61
env_var = {}
62
62
for kv in res :
63
- k , v = kv .split ('=' , 1 )
64
- env_var [k ] = v
63
+ try :
64
+ k , v = kv .split ('=' , 1 )
65
+ env_var [k ] = v
66
+ except Exception :
67
+ pass
65
68
66
69
return env_var
67
70
You can’t perform that action at this time.
0 commit comments