File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # GitHub workflow for `make docker-maximum-cuda`.
2+
3+ name : make docker-maximum-cuda
4+
5+ # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
6+ on :
7+ # Trigger workflow in GitHub web frontend or from API.
8+ workflow_dispatch :
9+ inputs :
10+ os :
11+ description : ' Operating system'
12+ required : true
13+ default : any
14+ type : choice
15+ options :
16+ - ubuntu-18.04
17+ - ubuntu-20.04
18+
19+ jobs :
20+ make :
21+ runs-on : ${{ github.event.inputs.os }}
22+
23+ env :
24+ PYTHON_VERSION : ' 3.7'
25+
26+ steps :
27+ - uses : actions/checkout@v2
28+ - uses : actions/setup-python@v2
29+ with :
30+ python-version : ${{ env.PYTHON_VERSION }}
31+ - name : update apt repositories
32+ run : sudo apt-get update
33+ - name : Install dependencies
34+ run : sudo make deps-ubuntu PYTHON=python${{ env.PYTHON_VERSION}}
35+ - name : Make docker-maximum-cuda
36+ run : make docker-maximum-cuda PYTHON=python${{ env.PYTHON_VERSION }}
You can’t perform that action at this time.
0 commit comments