Skip to content

Commit 543d2c9

Browse files
EduPonzmergify[bot]
authored andcommitted
Use token for ccache action (#136)
Signed-off-by: eduponz <eduardoponz@eprosima.com> (cherry picked from commit cce555d) # Conflicts: # .github/workflows/build_and_test.yml
1 parent e9b617c commit 543d2c9

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,17 @@ jobs:
5757
- name: Fetch repositories
5858
shell: pwsh
5959
run: |
60+
<<<<<<< HEAD
6061
vcs import src --skip-existing --input src/fastdds_python/fastdds_python.repos
62+
=======
63+
echo "cmake_generator=ninja" >> $Env:GITHUB_OUTPUT
64+
65+
- name: Setup ccache
66+
uses: eProsima/eProsima-CI/external/setup-ccache-action@v0
67+
with:
68+
windows_compile_environment: msvc
69+
api_token: ${{ secrets.GITHUB_TOKEN }}
70+
>>>>>>> cce555d (Use token for ccache action (#136))
6171

6272
- name: Build workspace
6373
shell: pwsh
@@ -107,9 +117,42 @@ jobs:
107117
vcstool \
108118
colcon-common-extensions
109119
120+
<<<<<<< HEAD
110121
- name: Fetch repositories
111122
run: |
112123
vcs import --skip-existing src < src/fastdds_python/fastdds_python.repos
124+
=======
125+
- name: Checkout foonathan memory vendor
126+
uses: eProsima/eProsima-CI/external/checkout@v0
127+
with:
128+
repository: eProsima/foonathan_memory_vendor
129+
path: src/foonathan_memory_vendor
130+
ref: ${{ matrix.foonathan_memory_vendor_version }}
131+
132+
- name: Checkout Fast CDR
133+
uses: eProsima/eProsima-CI/external/checkout@v0
134+
with:
135+
repository: eProsima/Fast-CDR
136+
path: src/fastcdr
137+
ref: ${{ matrix.fastcdr_version }}
138+
139+
- name: Checkout Fast DDS
140+
uses: eProsima/eProsima-CI/external/checkout@v0
141+
with:
142+
repository: eProsima/Fast-DDS
143+
path: src/fastdds
144+
ref: ${{ matrix.fastdds_version }}
145+
146+
- name: Setup CMake version
147+
uses: eProsima/eProsima-CI/external/get-cmake@v0
148+
with:
149+
cmakeVersion: 3.22.6
150+
151+
- name: Setup ccache
152+
uses: eProsima/eProsima-CI/external/setup-ccache-action@v0
153+
with:
154+
api_token: ${{ secrets.GITHUB_TOKEN }}
155+
>>>>>>> cce555d (Use token for ccache action (#136))
113156

114157
- name: Build workspace
115158
run: >

0 commit comments

Comments
 (0)