3 # Controls when the action will run. Triggers the workflow on push or pull request
4 # events but only for the master branch
5 on: [push, pull_request]
7 # A workflow run is made up of one or more jobs that can run
8 # sequentially or in parallel
10 # This workflow contains a single job called "build"
14 # Steps represent a sequence of tasks that will be executed as part of the job
16 # Checks-out your repository under $GITHUB_WORKSPACE, so your job
18 - uses: actions/checkout@v3
20 - name: setup prerequisites
24 brew install autoconf automake libtool m4
32 run: .private/ci-build.sh --build-dir build
36 run: cd Xcode && xcodebuild -project libusb.xcodeproj