-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (38 loc) · 1.1 KB
/
manual.yml
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
name: Manual search
on:
workflow_dispatch:
inputs:
repo:
description: 'pacman repo name to search'
required: true
default: 'mingw64'
package:
description: 'package from which to find dependents'
required: true
dll:
description: 'dll(s) from which problematic symbols are imported'
required: true
symbols:
description: 'problematic symbol(s)'
required: false
jobs:
checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install stuff
run: |
python -m venv --system-site-packages venv
. venv/bin/activate
pip install -r requirements.txt
deactivate
- name: Grok packages
run: |
. venv/bin/activate
dlls=""
for d in ${{ github.event.inputs.dll }}; do
dlls+=" -d $d"
done
python -u package-grokker.py -e '${{ github.event.inputs.repo }}' -p '${{ github.event.inputs.package }}' $dlls ${{ github.event.inputs.symbols }}