Skip to content

Commit

Permalink
Add ci to GHA subdirs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolecheetham committed Oct 25, 2024
1 parent 234057a commit 8e014d6
Show file tree
Hide file tree
Showing 5 changed files with 183 additions and 0 deletions.
32 changes: 32 additions & 0 deletions drake_ament_cmake_installed/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# SPDX-License-Identifier: MIT-0

---
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 12 * * *'
concurrency:
# Cancel previous CI runs when additional commits are added to a pull request.
# This will not cancel CI runs associated with `schedule` or `push`.
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
ros_humble_ament_cmake_installed:
name: ros 2 humble
runs-on: ubuntu-latest
container: ubuntu:jammy
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
run: ./.github/ros_humble_setup
shell: bash
- name: ament_cmake_installed build and test
run: ./.github/ci_build_test
shell: bash
32 changes: 32 additions & 0 deletions drake_bazel_download/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# SPDX-License-Identifier: MIT-0

---
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 12 * * *'
concurrency:
# Cancel previous CI runs when additional commits are added to a pull request.
# This will not cancel CI runs associated with `schedule` or `push`.
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
ubuntu_jammy_bazel_download:
name: ubuntu 22.04 jammy
runs-on: ubuntu-latest
container: ubuntu:jammy
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
run: ./.github/ubuntu_setup
shell: bash
- name: bazel_download build and test
run: ./.github/ci_build_test
shell: bash
32 changes: 32 additions & 0 deletions drake_catkin_installed/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# SPDX-License-Identifier: MIT-0

---
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 12 * * *'
concurrency:
# Cancel previous CI runs when additional commits are added to a pull request.
# This will not cancel CI runs associated with `schedule` or `push`.
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
ubuntu_jammy_catkin_installed:
name: ubuntu 22.04 jammy
runs-on: ubuntu-latest
container: ubuntu:jammy
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
run: ./.github/ubuntu_setup
shell: bash
- name: catkin_installed build and test
run: ./.github/ci_build_test
shell: bash
55 changes: 55 additions & 0 deletions drake_cmake_installed/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# SPDX-License-Identifier: MIT-0

---
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 12 * * *'
concurrency:
# Cancel previous CI runs when additional commits are added to a pull request.
# This will not cancel CI runs associated with `schedule` or `push`.
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
macos_sonoma_arm_cmake_installed:
name: macos sonoma 14 arm
runs-on: macos-14
steps:
- name: checkout
uses: actions/checkout@v4
# See issue https://github.com/actions/setup-python/issues/577. There is
# some kind of environment conflict between the symlinks found in the
# GitHub Actions runner and `brew upgrade python` where `brew` detects and
# refuses to overwrite symlinks. The cause for our runs is not clear,
# we do not use that action, but if that issue is closed this section
# can be removed.
- name: sanitize GHA / brew python environment
run: |
# Remove the symlinks that cause issues.
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
sudo rm -rf /Library/Frameworks/Python.framework/
- name: setup
run: ./setup/install_prereqs
shell: zsh -efuo pipefail {0}
- name: cmake_installed build and test
run: ./.github/ci_build_test
shell: zsh -efuo pipefail {0}
ubuntu_jammy_cmake_installed:
name: ubuntu 22.04 jammy
runs-on: ubuntu-latest
container: ubuntu:jammy
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
run: ./.github/ubuntu_setup
shell: bash
- name: cmake_installed build and test
run: ./.github/ci_build_test
shell: bash
32 changes: 32 additions & 0 deletions drake_cmake_installed_apt/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# SPDX-License-Identifier: MIT-0

---
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 12 * * *'
concurrency:
# Cancel previous CI runs when additional commits are added to a pull request.
# This will not cancel CI runs associated with `schedule` or `push`.
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
ubuntu_jammy_cmake_installed_apt:
name: ubuntu 22.04 jammy
runs-on: ubuntu-latest
container: ubuntu:jammy
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
run: ./.github/ubuntu_apt_setup
shell: bash
- name: cmake_installed_apt build and test
run: ./.github/ci_build_test
shell: bash

0 comments on commit 8e014d6

Please sign in to comment.