Skip to content

Commit

Permalink
Fix up CI packaging breakage caused by file location reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Feb 9, 2023
1 parent 6f358fa commit 7b782eb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
12 changes: 4 additions & 8 deletions .ci.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if(NOT CTEST_DISABLE_TESTING)
endif()
if(WIN32)
if(EXISTS "prebuilt/bin/Release/llfio_dl-2.0-Windows-AMD64-Release.dll")
file(DOWNLOAD "https://github.com/ned14/outcome/tarball/better_optimisation" "${CMAKE_CURRENT_LIST_DIR}/outcome.tgz")
file(DOWNLOAD "https://github.com/ned14/outcome/tarball/master" "${CMAKE_CURRENT_LIST_DIR}/outcome.tgz")
file(DOWNLOAD "https://github.com/ned14/quickcpplib/tarball/master" "${CMAKE_CURRENT_LIST_DIR}/quickcpplib.tgz")
checked_execute_process("Tarring up binaries 0"
COMMAND "${CMAKE_COMMAND}" -E tar xfz "outcome.tgz"
Expand All @@ -64,7 +64,6 @@ if(WIN32)
COMMAND "${CMAKE_COMMAND}" -E copy index.html llfio/
COMMAND "${CMAKE_COMMAND}" -E copy Licence.txt llfio/
COMMAND "${CMAKE_COMMAND}" -E copy Readme.md llfio/
COMMAND "${CMAKE_COMMAND}" -E copy release_notes.md llfio/
)
checked_execute_process("Tarring up binaries 3"
COMMAND "${CMAKE_COMMAND}" -E copy prebuilt/lib/Release/llfio_sl-2.0-Windows-AMD64-Release.lib llfio/prebuilt/lib/Release/
Expand Down Expand Up @@ -97,7 +96,7 @@ if(WIN32)
endif()
else()
if(EXISTS "prebuilt/lib/libllfio_dl-2.0-Linux-x86_64-Release.so")
file(DOWNLOAD "https://github.com/ned14/outcome/tarball/better_optimisation" "${CMAKE_CURRENT_LIST_DIR}/outcome.tgz")
file(DOWNLOAD "https://github.com/ned14/outcome/tarball/master" "${CMAKE_CURRENT_LIST_DIR}/outcome.tgz")
file(DOWNLOAD "https://github.com/ned14/quickcpplib/tarball/master" "${CMAKE_CURRENT_LIST_DIR}/quickcpplib.tgz")
checked_execute_process("Tarring up binaries 0"
COMMAND "${CMAKE_COMMAND}" -E tar xfz "outcome.tgz"
Expand All @@ -112,7 +111,6 @@ else()
COMMAND "${CMAKE_COMMAND}" -E copy index.html llfio/
COMMAND "${CMAKE_COMMAND}" -E copy Licence.txt llfio/
COMMAND "${CMAKE_COMMAND}" -E copy Readme.md llfio/
COMMAND "${CMAKE_COMMAND}" -E copy release_notes.md llfio/
COMMAND "${CMAKE_COMMAND}" -E copy prebuilt/lib/libllfio_sl-2.0-Linux-x86_64-Release.a llfio/prebuilt/lib/
COMMAND "${CMAKE_COMMAND}" -E copy prebuilt/lib/libllfio_dl-2.0-Linux-x86_64-Release.so llfio/prebuilt/lib/
)
Expand All @@ -126,7 +124,7 @@ else()
get_filename_component(toupload llfio-v2.0-binaries-linux-x64.tgz ABSOLUTE)
endif()
if(EXISTS "prebuilt/lib/libllfio_dl-2.0-Linux-armhf-Release.so")
file(DOWNLOAD "https://github.com/ned14/outcome/tarball/better_optimisation" "${CMAKE_CURRENT_LIST_DIR}/outcome.tgz")
file(DOWNLOAD "https://github.com/ned14/outcome/tarball/master" "${CMAKE_CURRENT_LIST_DIR}/outcome.tgz")
file(DOWNLOAD "https://github.com/ned14/quickcpplib/tarball/master" "${CMAKE_CURRENT_LIST_DIR}/quickcpplib.tgz")
checked_execute_process("Tarring up binaries 0"
COMMAND "${CMAKE_COMMAND}" -E tar xfz "outcome.tgz"
Expand All @@ -141,7 +139,6 @@ else()
COMMAND "${CMAKE_COMMAND}" -E copy index.html llfio/
COMMAND "${CMAKE_COMMAND}" -E copy Licence.txt llfio/
COMMAND "${CMAKE_COMMAND}" -E copy Readme.md llfio/
COMMAND "${CMAKE_COMMAND}" -E copy release_notes.md llfio/
COMMAND "${CMAKE_COMMAND}" -E copy prebuilt/lib/libllfio_sl-2.0-Linux-armhf-Release.a llfio/prebuilt/lib/
COMMAND "${CMAKE_COMMAND}" -E copy prebuilt/lib/libllfio_dl-2.0-Linux-armhf-Release.so llfio/prebuilt/lib/
)
Expand All @@ -155,7 +152,7 @@ else()
get_filename_component(toupload llfio-v2.0-binaries-linux-armhf.tgz ABSOLUTE)
endif()
if(EXISTS "prebuilt/lib/libllfio_dl-2.0-Darwin-x86_64-Release.dylib")
file(DOWNLOAD "https://github.com/ned14/outcome/tarball/better_optimisation" "${CMAKE_CURRENT_LIST_DIR}/outcome.tgz")
file(DOWNLOAD "https://github.com/ned14/outcome/tarball/master" "${CMAKE_CURRENT_LIST_DIR}/outcome.tgz")
file(DOWNLOAD "https://github.com/ned14/quickcpplib/tarball/master" "${CMAKE_CURRENT_LIST_DIR}/quickcpplib.tgz")
checked_execute_process("Tarring up binaries 0"
COMMAND "${CMAKE_COMMAND}" -E tar xfz "outcome.tgz"
Expand All @@ -170,7 +167,6 @@ else()
COMMAND "${CMAKE_COMMAND}" -E copy index.html llfio/
COMMAND "${CMAKE_COMMAND}" -E copy Licence.txt llfio/
COMMAND "${CMAKE_COMMAND}" -E copy Readme.md llfio/
COMMAND "${CMAKE_COMMAND}" -E copy release_notes.md llfio/
COMMAND "${CMAKE_COMMAND}" -E copy prebuilt/lib/libllfio_sl-2.0-Darwin-x86_64-Release.a llfio/prebuilt/lib/
COMMAND "${CMAKE_COMMAND}" -E copy prebuilt/lib/libllfio_dl-2.0-Darwin-x86_64-Release.dylib llfio/prebuilt/lib/
)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
path: artifacts

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1.6
uses: EnricoMi/publish-unit-test-result-action@v2
with:
check_name: Unit Test Results
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
path: artifacts

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1.6
uses: EnricoMi/publish-unit-test-result-action@v2
with:
check_name: Unit Test Results
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
path: artifacts

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1.6
uses: EnricoMi/publish-unit-test-result-action@v2
with:
check_name: Unit Test Results
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 7b782eb

Please sign in to comment.