Skip to content

Commit

Permalink
Update version to 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ben authored and MaksymT17 committed Sep 20, 2024
1 parent a3075e2 commit 2fa7a84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-linux_win_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
mkdir -p build/linux_release/lib &&
mkdir -p build/linux_release/include &&
cp -r *.h build/linux_release/include &&
cp build/libsilber-1.0.a build/linux_release/lib
cp build/libsilber-1.1.a build/linux_release/lib
- name: Upload Linux(Ubuntu)build artifacts
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -82,13 +82,13 @@ jobs:
mkdir -p build/windows_release/lib &&
mkdir -p build/windows_release/include &&
cp -r *.h build/windows_release/include &&
cp build/Release/silber-1.0.lib build/windows_release/lib
cp build/Release/silber-1.1.lib build/windows_release/lib
shell: bash

- name: Upload Windows build artifacts
uses: actions/upload-artifact@v3
with:
name: windows-release
name: windows_release
path: silber/build/windows_release


Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
mkdir -p build/macos_release/lib &&
mkdir -p build/macos_release/include &&
cp -r *.h build/macos_release/include &&
cp build/libsilber-1.0.a build/macos_release/lib
cp build/libsilber-1.1.a build/macos_release/lib
- name: Upload MacOS build artifacts
uses: actions/upload-artifact@v3
Expand Down
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS OFF) # Turn off compiler-specific extensions

ADD_LIBRARY(silber-1.0 STATIC
ADD_LIBRARY(silber-1.1 STATIC
SharedMemoryReceiver.cpp
SharedMemorySender.cpp
ProcCommunicator.cpp
ClientProcCommunicator.cpp
ServerProcCommunicator.cpp)

# install library if it is needed by multiple targets
install(TARGETS silber-1.0
EXPORT silber-1.0-config
install(TARGETS silber-1.1
EXPORT silber-1.1-config
DESTINATION lib)

install(FILES
Expand All @@ -28,4 +28,4 @@ EXPORT silber-1.0-config
SharedMemoryReceiver.h DESTINATION include)

add_executable(silber_test main.cpp)
target_link_libraries(silber_test silber-1.0)
target_link_libraries(silber_test silber-1.1)

0 comments on commit 2fa7a84

Please sign in to comment.