Skip to content

Commit 3083a6e

Browse files
committed
Merge remote-tracking branch 'origin/podman'
2 parents ec5ecdd + edb1312 commit 3083a6e

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/makedocker.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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 }}

0 commit comments

Comments
 (0)