Enable linux netlink event monitoring for Android OS platform services
[libusb.git] / .github / workflows / macos.yml
blob308ea2a8f0becac2d3b782f17c17c234d6634150
1 name: macOS
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
9 jobs:
10   # This workflow contains a single job called "build"
11   build:
12     runs-on: macos-latest
14     # Steps represent a sequence of tasks that will be executed as part of the job
15     steps:
16       # Checks-out your repository under $GITHUB_WORKSPACE, so your job
17       # can access it
18       - uses: actions/checkout@v3
20       - name: setup prerequisites
21         shell: bash
22         run: |
23           brew update
24           brew install autoconf automake libtool m4
26       - name: bootstrap
27         shell: bash
28         run: ./bootstrap.sh
30       - name: compile
31         shell: bash
32         run: .private/ci-build.sh --build-dir build
34       - name: Xcode
35         shell: bash
36         run: cd Xcode && xcodebuild -project libusb.xcodeproj