Skip to content

Commit 1ffc9da

Browse files
ci: set working-directory to cpp/ for existing pipelines
1 parent cb5b6cb commit 1ffc9da

File tree

6 files changed

+34
-17
lines changed

6 files changed

+34
-17
lines changed

.github/workflows/docs_deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
#tags:
99
# - 'v*'
1010
paths:
11-
- 'docs/**'
11+
- 'cpp/docs/**'
1212
pull_request:
1313
paths:
14-
- 'docs/**'
14+
- 'cpp/docs/**'
1515

1616
workflow_dispatch:
1717

@@ -31,13 +31,13 @@ jobs:
3131
node-version: 20
3232
cache: npm
3333
# Specify the path to lock file for correct caching
34-
cache-dependency-path: ./docs/yarn.lock
34+
cache-dependency-path: ./cpp/docs/yarn.lock
3535

3636
- name: Install dependencies
37-
run: yarn install --frozen-lockfile --cwd ./docs
37+
run: yarn install --frozen-lockfile --cwd ./cpp/docs
3838

3939
- name: Build with VitePress
40-
working-directory: ./docs
40+
working-directory: ./cpp/docs
4141
run: |
4242
npm run docs:build
4343
touch .vitepress/dist/.nojekyll
@@ -46,7 +46,7 @@ jobs:
4646
uses: actions/upload-artifact@v4
4747
with:
4848
name: mavsdk_docs_build
49-
path: docs/.vitepress/dist/
49+
path: cpp/docs/.vitepress/dist/
5050
retention-days: 1
5151

5252
deploy:

.github/workflows/fuzzing.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ on:
55
branches:
66
- 'main'
77
paths-ignore:
8-
- 'docs/**'
8+
- 'cpp/docs/**'
99
pull_request:
1010
branches:
1111
- '*'
1212
paths-ignore:
13-
- 'docs/**'
13+
- 'cpp/docs/**'
14+
15+
defaults:
16+
run:
17+
working-directory: cpp
1418

1519
jobs:
1620
fuzz:

.github/workflows/linux.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@ on:
77
tags:
88
- 'v*'
99
paths-ignore:
10-
- 'docs/**'
10+
- 'cpp/docs/**'
1111
pull_request:
1212
branches:
1313
- '*'
1414
paths-ignore:
15-
- 'docs/**'
15+
- 'cpp/docs/**'
1616
- '.github/workflows/docs_deploy.yml'
1717
workflow_dispatch:
1818

19+
defaults:
20+
run:
21+
working-directory: cpp
22+
1923
jobs:
2024
check-docker-changes:
2125
name: Check Docker Changes
@@ -31,7 +35,7 @@ jobs:
3135
id: check-changes
3236
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
3337
with:
34-
files: docker/**
38+
files: ../docker/**
3539
since_last_remote_commit: true
3640
- name: List all changed files
3741
id: set-any-changed
@@ -654,11 +658,12 @@ jobs:
654658
overwrite: true
655659

656660
alpine-linux:
657-
name: alpine 3.19.0 (musl)
661+
name: alpine 3.23.3 (musl)
658662
runs-on: ubuntu-24.04
659-
container: alpine:3.19.0
663+
container: alpine:3.23.3
660664
steps:
661665
- name: install tools
666+
working-directory: .
662667
run: apk update && apk add build-base cmake git linux-headers perl tar python3 py3-pip rust cargo
663668
- uses: actions/checkout@v4
664669
with:

.github/workflows/macos.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ on:
77
tags:
88
- 'v*'
99
paths-ignore:
10-
- 'docs/**'
10+
- 'cpp/docs/**'
1111
pull_request:
1212
branches:
1313
- '*'
1414
paths-ignore:
15-
- 'docs/**'
15+
- 'cpp/docs/**'
1616
- '.github/workflows/docs_deploy.yml'
1717

18+
defaults:
19+
run:
20+
working-directory: cpp
21+
1822
jobs:
1923
macOS:
2024
name: ${{ matrix.name }}

.github/workflows/windows.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ on:
77
tags:
88
- 'v*'
99
paths-ignore:
10-
- 'docs/**'
10+
- 'cpp/docs/**'
1111
pull_request:
1212
branches:
1313
- '*'
1414
paths-ignore:
15-
- 'docs/**'
15+
- 'cpp/docs/**'
1616
- '.github/workflows/docs_deploy.yml'
1717

18+
defaults:
19+
run:
20+
working-directory: cpp
21+
1822
jobs:
1923
Windows-mavsdk_server:
2024
name: Windows mavsdk_server build

0 commit comments

Comments
 (0)