FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-xmlsec/.github/workflows/cache_libs.yml at master · xmlsec/python-xmlsec · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
xmlsec
/
python-xmlsec
Public
Notifications
You must be signed in to change notification settings
Fork
104
Star
105
Code
Issues
31
Pull requests
1
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-xmlsec
/
.github
/
workflows
/
cache_libs.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
135 lines (124 loc) · 4.25 KB
Breadcrumbs
python-xmlsec
/
.github
/
workflows
/
cache_libs.yml
Copy path
File metadata and controls
135 lines (124 loc) · 4.25 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name
:
Cache library dependencies
on
:
workflow_call
:
inputs
:
LIBICONV_VERSION
:
default
:
"
1.18
"
required
:
false
type
:
string
LIBXML2_VERSION
:
default
:
"
2.14.6
"
required
:
false
type
:
string
LIBXSLT_VERSION
:
default
:
"
1.1.43
"
required
:
false
type
:
string
OPENSSL_VERSION
:
default
:
"
3.6.0
"
required
:
false
type
:
string
XMLSEC1_VERSION
:
default
:
"
1.3.11
"
required
:
false
type
:
string
ZLIB_VERSION
:
default
:
"
1.3.1
"
required
:
false
type
:
string
WIN_LIBICONV_VERSION
:
default
:
"
1.18-1
"
required
:
false
type
:
string
WIN_LIBXML2_VERSION
:
default
:
"
2.11.9-3
"
required
:
false
type
:
string
WIN_LIBXSLT_VERSION
:
default
:
"
1.1.39
"
required
:
false
type
:
string
WIN_OPENSSL_VERSION
:
default
:
"
3.5.6
"
required
:
false
type
:
string
WIN_XMLSEC1_VERSION
:
default
:
"
1.3.11
"
required
:
false
type
:
string
WIN_ZLIB_VERSION
:
default
:
"
1.3.1
"
required
:
false
type
:
string
outputs
:
LIBICONV_VERSION
:
value
:
${{ inputs.LIBICONV_VERSION }}
LIBXML2_VERSION
:
value
:
${{ inputs.LIBXML2_VERSION }}
LIBXSLT_VERSION
:
value
:
${{ inputs.LIBXSLT_VERSION }}
OPENSSL_VERSION
:
value
:
${{ inputs.OPENSSL_VERSION }}
XMLSEC1_VERSION
:
value
:
${{ inputs.XMLSEC1_VERSION }}
ZLIB_VERSION
:
value
:
${{ inputs.ZLIB_VERSION }}
WIN_LIBICONV_VERSION
:
value
:
${{ inputs.WIN_LIBICONV_VERSION }}
WIN_LIBXML2_VERSION
:
value
:
${{ inputs.WIN_LIBXML2_VERSION }}
WIN_LIBXSLT_VERSION
:
value
:
${{ inputs.WIN_LIBXSLT_VERSION }}
WIN_OPENSSL_VERSION
:
value
:
${{ inputs.WIN_OPENSSL_VERSION }}
WIN_XMLSEC1_VERSION
:
value
:
${{ inputs.WIN_XMLSEC1_VERSION }}
WIN_ZLIB_VERSION
:
value
:
${{ inputs.WIN_ZLIB_VERSION }}
jobs
:
cache_libs
:
strategy
:
fail-fast
:
false
matrix
:
os
:
-
"
ubuntu-22.04
"
-
"
ubuntu-22.04-arm
"
-
"
macos-latest
"
-
"
windows-2022
"
-
"
windows-11-arm
"
runs-on
:
${{ matrix.os }}
env
:
LIBICONV_VERSION
:
${{ contains(matrix.os, 'windows-') && inputs.WIN_LIBICONV_VERSION || inputs.LIBICONV_VERSION }}
LIBXML2_VERSION
:
${{ contains(matrix.os, 'windows-') && inputs.WIN_LIBXML2_VERSION || inputs.LIBXML2_VERSION }}
LIBXSLT_VERSION
:
${{ contains(matrix.os, 'windows-') && inputs.WIN_LIBXSLT_VERSION || inputs.LIBXSLT_VERSION }}
OPENSSL_VERSION
:
${{ contains(matrix.os, 'windows-') && inputs.WIN_OPENSSL_VERSION || inputs.OPENSSL_VERSION }}
XMLSEC1_VERSION
:
${{ contains(matrix.os, 'windows-') && inputs.WIN_XMLSEC1_VERSION || inputs.XMLSEC1_VERSION }}
ZLIB_VERSION
:
${{ contains(matrix.os, 'windows-') && inputs.WIN_ZLIB_VERSION || inputs.ZLIB_VERSION }}
steps
:
-
uses
:
actions/checkout@v6
-
name
:
Cache [libs]
uses
:
actions/cache@v4.3.0
with
:
path
:
|
libs/*.xz
libs/*.gz
libs/*.zip
key
:
>-
libs-${{ runner.os }}-${{ runner.arch }}-${{ env.LIBICONV_VERSION }}-${{ env.LIBXML2_VERSION }}-${{ env.LIBXSLT_VERSION }}-${{ env.OPENSSL_VERSION }}-${{ env.XMLSEC1_VERSION }}-${{ env.ZLIB_VERSION }}
-
uses
:
actions/setup-python@v6
with
:
python-version
:
"
3.13
"
-
name
:
Install setuptools shim
run
:
python -m pip install --upgrade pip setuptools
-
name
:
Download latest libraries
env
:
GH_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
run
:
python build_libs_xmlsec.py --download-only
-
name
:
Check Windows library versions
if
:
${{ contains(matrix.os, 'windows-') }}
run
:
|
bash -c '
for file in libs/iconv-${{ inputs.WIN_LIBICONV_VERSION }}.*.zip libs/libxml2-${{ inputs.WIN_LIBXML2_VERSION }}.*.zip libs/libxslt-${{ inputs.WIN_LIBXSLT_VERSION }}.*.zip libs/openssl-${{ inputs.WIN_OPENSSL_VERSION }}.*.zip libs/xmlsec-${{ inputs.WIN_XMLSEC1_VERSION }}.*.zip libs/zlib-${{ inputs.WIN_ZLIB_VERSION }}.*.zip; do
[[ -f "$file" ]] || { echo "MISSING: $file" ; exit 1; }
done
'
Back
|
FazBrowse Home
|
New Git URL