Skip to content

Commit fad33d4

Browse files
authored
Merge pull request #5 from manumerous/fix/ci-build
Fix ci build instructions
2 parents 485a1a1 + e9c2e90 commit fad33d4

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/build_test.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
name: Build Tests
1+
name: Full Install & Build Tests
22

33
on:
44
push:
55
branches:
66
- master
77
pull_request:
88
branches:
9-
- "*"
9+
- '**' # double asterisk matches any branch
10+
types: [opened, synchronize, reopened]
1011

1112
jobs:
1213
build:
@@ -30,15 +31,20 @@ jobs:
3031
restore-keys: |
3132
${{ runner.os }}-apt-
3233
33-
- name: Install Dependencies
34+
- name: Install Base Dependencies
3435
run: |
3536
sudo apt-get update && sudo apt-get upgrade -y
36-
# Install dependencies listed in dependencies.txt
37-
# Make sure dependencies.txt is at the root of your repo or update the path accordingly
38-
xargs -a dependencies.txt sudo apt-get install -y
37+
sudo apt-get update && apt-get install -y --no-install-recommends \
38+
curl gnupg2 lsb-release software-properties-common \
39+
locales \
40+
git \
41+
x11-apps \
42+
mesa-utils \
43+
gettext-base
3944
40-
# Install additional ROS packages
41-
sudo apt-get install -y ros-jazzy-ament-cmake-clang-format ros-jazzy-joint-state-publisher-gui ros-jazzy-xacro ros-jazzy-mcap-vendor ros-jazzy-interactive-markers
45+
- name: Install Project Dependencies
46+
run: |
47+
envsubst < dependencies.txt | xargs sudo apt-get install -y --no-install-recommends
4248
4349
- name: Initialize submodules
4450
run: |

0 commit comments

Comments
 (0)