Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Jan 18, 2024
1 parent 641faab commit df13a7e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
files: ot3-firmware/coverage.xml
name: codecov-ot3-firmware
fail_ci_if_error: true
43 changes: 40 additions & 3 deletions .github/workflows/cross-compile-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ jobs:
- name: Build all STM32G4 applications
run: cmake --build --preset=${{ matrix.target }} --target ${{ matrix.target }}-images ${{ matrix.target }}-applications

- name: Lint
run: cmake --build --preset=${{ matrix.target }} --target ${{ matrix.target }}-lint

format:
runs-on: "ubuntu-20.04"
timeout-minutes: 20
Expand Down Expand Up @@ -89,3 +86,43 @@ jobs:

- name: Format
run: cmake --build ./build-cross --target format-ci

lint:
runs-on: "ubuntu-20.04"
timeout-minutes: 20
name: ${{ matrix.target }} lint
strategy:
matrix:
target: [
bootloader,
gantry,
gripper,
head,
hepa-uv,
pipettes,
rear-panel
]
steps:
- name: Checkout ot3-firmware repo
uses: actions/checkout@v4
with:
path: ot3-firmware

- name: Checkout github actions directory
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/actions
sparse-checkout-cone-mode: false
path: actions

- name: Setup main
uses: ./actions/.github/actions/main-setup
with:
cache-version: ${{ secrets.CACHE_VERSION }}

- name: Configure
run: cmake --preset=cross .

- name: Format
run: cmake --build ./build-cross --target ${{ matrix.target }}-lint

0 comments on commit df13a7e

Please sign in to comment.