Add legacy USB to check it is working fine #12
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Host Tools | |
| on: | |
| push: | |
| paths: | |
| - 'usbhostfs_pc/**' | |
| - '.github/workflows/host_tools.yml' | |
| pull_request: | |
| paths: | |
| - 'usbhostfs_pc/**' | |
| - '.github/workflows/host_tools.yml' | |
| repository_dispatch: | |
| types: [run_build] | |
| workflow_dispatch: {} | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os[0] }} | |
| strategy: | |
| matrix: | |
| os: [ | |
| [macos-latest, arm64, bash], | |
| [macos-13, x86_64, bash], | |
| [ubuntu-latest, x86_64, bash] | |
| ] | |
| fail-fast: false | |
| defaults: | |
| run: | |
| shell: ${{ matrix.os[2] }} {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Ubuntu packages | |
| if: matrix.os[0] == 'ubuntu-latest' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install libusb-1.0-0-dev libusb-dev gcc | |
| - name: Install macOS packages | |
| if: startsWith(matrix.os[0], 'macos') | |
| run: | | |
| brew update | |
| brew install libusb gcc | |
| - name: Compile tools | |
| run: | | |
| make --quiet -j $PROC_NR -C usbhostfs_pc |