Install dependencies and build #30
This file contains 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: Install dependencies and build | |
on: | |
# By default, this workflow is not triggered when a PR is merged. | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
- labeled | |
- unlabeled | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: "0 6 * * *" # 6am everyday. | |
jobs: | |
compile: | |
name: Install dependencies and compile project | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies & build | |
run: | | |
# Install dependencies | |
./install_dependencies.sh | |
# Build realsense lcm driver | |
bazel build //... |