Skip to content

Commit

Permalink
[ci] Remove unused steps/package installs (wpilibsuite#6756)
Browse files Browse the repository at this point in the history
Removed steps/packages were used for protobuf/generated files
  • Loading branch information
Gold856 authored Jun 21, 2024
1 parent 2586575 commit 7f5970b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,15 @@ jobs:
steps:
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libopencv-dev libopencv4.5-java python-is-python3 libprotobuf-dev protobuf-compiler ninja-build

- name: Install QuickBuffers (Linux)
if: runner.os == 'Linux'
run: wget https://github.com/HebiRobotics/QuickBuffers/releases/download/1.3.3/protoc-gen-quickbuf_1.3.3_amd64.deb && sudo apt install ./protoc-gen-quickbuf_1.3.3_amd64.deb
run: sudo apt-get update && sudo apt-get install -y libopencv-dev libopencv4.5-java libprotobuf-dev protobuf-compiler ninja-build

- name: Install dependencies (macOS)
run: brew install opencv protobuf@3 ninja
if: runner.os == 'macOS'

- name: Set up Python 3.10 (macOS)
if: runner.os == 'macOS'
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.4

- name: Install jinja
run: python -m pip install jinja2

- uses: actions/checkout@v4

- name: configure
Expand Down Expand Up @@ -79,9 +66,6 @@ jobs:
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.4

- name: Install jinja
run: python -m pip install jinja2

- uses: actions/checkout@v4

- name: Run vcpkg
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,11 @@ jobs:
container: wpilib/roborio-cross-ubuntu:2024-22.04
steps:
- name: Install Dependencies
run: sudo apt-get update && sudo apt-get install -y libopencv-dev libopencv4.5-java python-is-python3 clang-14 libprotobuf-dev protobuf-compiler ninja-build

- name: Install QuickBuffers
if: runner.os == 'Linux'
run: wget https://github.com/HebiRobotics/QuickBuffers/releases/download/1.3.3/protoc-gen-quickbuf_1.3.3_amd64.deb && sudo apt install ./protoc-gen-quickbuf_1.3.3_amd64.deb
run: sudo apt-get update && sudo apt-get install -y libopencv-dev libopencv4.5-java clang-14 libprotobuf-dev protobuf-compiler ninja-build

- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3

- name: Install jinja
run: python -m pip install jinja2

- uses: actions/checkout@v4

- name: configure
Expand Down

0 comments on commit 7f5970b

Please sign in to comment.