Skip to content

Commit 61a2417

Browse files
committed
Adding ubuntu fedora with docker
1 parent be55437 commit 61a2417

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/host_tools.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,33 @@ jobs:
4343
brew update
4444
brew install libusb gcc
4545
46+
- name: Compile tools
47+
run: |
48+
make --quiet -j $PROC_NR -C usbhostfs_pc
49+
50+
build-docker:
51+
runs-on: ubuntu-latest
52+
container: ${{ matrix.os[0] }}:latest
53+
strategy:
54+
matrix:
55+
os: [
56+
[ubuntu, bash],
57+
[fedora, bash],
58+
]
59+
steps:
60+
- uses: actions/checkout@v2
61+
62+
- name: Install dependencies Ubuntu
63+
if: matrix.os[0] == 'ubuntu'
64+
run: |
65+
apt-get -y update
66+
DEBIAN_FRONTEND="noninteractive" TZ="Europe/London" apt-get -y install libusb-1.0-0-dev libusb-dev gcc
67+
68+
- name: Install dependencies Fedora
69+
if: matrix.os[0] == 'fedora'
70+
run: |
71+
dnf -y install gcc make libusb1-devel libusb-compat-0.1-devel
72+
4673
- name: Compile tools
4774
run: |
4875
make --quiet -j $PROC_NR -C usbhostfs_pc

0 commit comments

Comments
 (0)