Skip to content

Commit

Permalink
CI debug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cropinghigh committed May 8, 2024
1 parent 9d655c3 commit 0dd4473
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Repo checkout
uses: actions/checkout@v4
- name: Get SDR++ nightly source
run: wget https://github.com/AlexandreRouma/SDRPlusPlus/archive/refs/tags/nightly.tar.gz && pwd && ls -lah
run: 'wget https://github.com/AlexandreRouma/SDRPlusPlus/archive/refs/tags/nightly.tar.gz && pwd && ls -lah'
- name: Get SDR++ nightly lib
uses: dsaltares/fetch-gh-release-asset@master
with:
Expand All @@ -21,11 +21,11 @@ jobs:
file: 'sdrpp_debian_sid_amd64.deb'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unpack SDR++ source and core lib
run: mkdir sdrpp_lib && tar -zxvf nightly.tar.gz -C sdrpp_lib && dpkg-deb -xv sdrpp_debian_sid_amd64.deb ./sdrpp_lib && cp ./.github/workflows/sdrpp_module_hack.cmake ./ && pwd && ls -lah && ls -lah sdrpp_lib
run: 'mkdir sdrpp_lib && tar -zxvf nightly.tar.gz -C sdrpp_lib && dpkg-deb -xv sdrpp_debian_sid_amd64.deb ./sdrpp_lib && cp ./.github/workflows/sdrpp_module_hack.cmake ./ && pwd && ls -lah && ls -lah sdrpp_lib'
- name: Cmake
run: mkdir build && cd build && ls -lah .. && cmake .. -DSDRPP_MODULE_CMAKE="../sdrpp_module_hack.cmake"
run: 'mkdir build && cd build && ls -lah .. && cmake .. -DSDRPP_MODULE_CMAKE="$Env:GITHUB_WORKSPACE/sdrpp_module_hack.cmake"'
- name: Make
run: make -j4
run: 'make -j4'
- name: Upload library
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdrpp_module_hack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ endif ()

# Created shared lib and link to core
add_library(${PROJECT_NAME} SHARED ${SRC})
target_link_libraries(${PROJECT_NAME} PRIVATE ../sdrpp_lib/sdrpp_core/lib/libsdrpp_core.so)
target_link_libraries(${PROJECT_NAME} PRIVATE ../sdrpp_lib/sdrpp_core/usr/lib/libsdrpp_core.so)
target_include_directories(${PROJECT_NAME} PRIVATE "${SDRPP_CORE_ROOT}/src/" "${SDRPP_CORE_ROOT}/src/imgui/")
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")

Expand Down

0 comments on commit 0dd4473

Please sign in to comment.