Skip to content

Commit d442d91

Browse files
committed
Downloading uchardet artifact
avoid building docs
1 parent ebb6e0e commit d442d91

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/linux-build.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ env:
1313
BUILD_TYPE: RelWithDebInfo
1414
DRUMSTICKNAME: DrumstickV2
1515
DRUMSTICK_LOCATION: ${{github.workspace}}/DrumstickV2
16+
UCHARDETNAME: Uchardet008
17+
UCHARDET_LOCATION: ${{github.workspace}}/Uchardet008
1618

1719
jobs:
1820
build:
@@ -34,6 +36,16 @@ jobs:
3436
- name: Extract downloaded files
3537
run: tar xvf ${{env.DRUMSTICKNAME}}.tar
3638

39+
- uses: dawidd6/action-download-artifact@v3
40+
with:
41+
name: ${{env.UCHARDETNAME}}
42+
github_token: ${{secrets.GH_PAT}}
43+
repo: pedrolcl/uchardet
44+
workflow: linux-build.yml
45+
46+
- name: Extract downloaded files
47+
run: tar xvf ${{env.UCHARDETNAME}}.tar
48+
3749
- name: Install Qt
3850
uses: jurplel/install-qt-action@v3
3951
with:
@@ -47,8 +59,9 @@ jobs:
4759
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
4860
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
4961
run: cmake -B ${{github.workspace}}/build
62+
-DBUILD_DOCS=OFF
5063
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
51-
-DCMAKE_PREFIX_PATH="${{env.DRUMSTICK_LOCATION}}"
64+
-DCMAKE_PREFIX_PATH="${{env.DRUMSTICK_LOCATION}};${{env.UCHARDET_LOCATION}}"
5265

5366
- name: Build
5467
# Build your program with the given configuration

0 commit comments

Comments
 (0)