Skip to content

Commit 9801d4e

Browse files
committed
Adding ubuntu fedora with docker
1 parent be55437 commit 9801d4e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/host_tools.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,34 @@ 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+
fail-fast: false
60+
steps:
61+
- uses: actions/checkout@v2
62+
63+
- name: Install dependencies Ubuntu
64+
if: matrix.os[0] == 'ubuntu'
65+
run: |
66+
apt-get -y update
67+
DEBIAN_FRONTEND="noninteractive" TZ="Europe/London" apt-get -y install libusb-1.0-0-dev libusb-dev gcc make
68+
69+
- name: Install dependencies Fedora
70+
if: matrix.os[0] == 'fedora'
71+
run: |
72+
dnf -y install gcc make libusb1-devel libusb-compat-0.1-devel
73+
4674
- name: Compile tools
4775
run: |
4876
make --quiet -j $PROC_NR -C usbhostfs_pc

0 commit comments

Comments
 (0)