Files
Ludovic Rousseau 07441f5424 Fix github action warnings
build
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Signed-off-by: Ludovic Rousseau <[email protected]>
2023-05-09 22:48:25 +02:00

37 lines
987 B
YAML

name: macOS
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push, pull_request]
# A workflow run is made up of one or more jobs that can run
# sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
runs-on: macos-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job
# can access it
- uses: actions/checkout@v3
- name: setup prerequisites
shell: bash
run: |
brew update
brew install autoconf automake libtool m4
- name: bootstrap
shell: bash
run: ./bootstrap.sh
- name: compile
shell: bash
run: .private/ci-build.sh --build-dir build
- name: Xcode
shell: bash
run: cd Xcode && xcodebuild -project libusb.xcodeproj