Skip to content

Commit

Permalink
Fix issue with windows library file.
Browse files Browse the repository at this point in the history
[node_publish]
  • Loading branch information
shanedell committed May 17, 2022
1 parent 4b110b6 commit ca3474a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,26 +83,19 @@ jobs:
- name: Setup cmake 🔧
uses: lukka/get-cmake@latest

- name: Build Ωedit mac
if: startsWith(matrix.os, 'mac')
- name: Build Ωedit
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=YES -DBUILD_DOCS=OFF
cmake --build build --target omega_edit
- name: Build Ωedit windows
if: startsWith(matrix.os, 'win')
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target omega_edit
- name: Move library file mac
if: startsWith(matrix.os, 'mac')
run: mv build/lib/* lib
shell: bash

- name: Move library file windows
if: startsWith(matrix.os, 'win')
run: mv build/lib/omega_edit.lib lib/omega_edit.dll
run: mv build/bin/omega_edit.dll lib/
shell: bash

- name: Setup JDK
Expand Down
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ cmake_minimum_required(VERSION 3.13)

# Project information
project(omega_edit
VERSION 0.9.3
VERSION 0.9.4
DESCRIPTION "Apache open source library for building editors"
HOMEPAGE_URL "https://github.com/ctc-oss/omega-edit"
LANGUAGES C CXX)
message(STATUS "Building ${PROJECT_NAME} ${PROJECT_VERSION}")

# Make sure windows shared library is created properly
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

# Get verbose output from the makefile (useful for debugging the build)
set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "ON")

Expand Down
2 changes: 1 addition & 1 deletion src/rpc/client/ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "omega-edit",
"version": "0.9.3",
"version": "0.9.4",
"description": "OmegaEdit gRPC Client TypeScript Types",
"publisher": "ctc-oss",
"repository": {
Expand Down

0 comments on commit ca3474a

Please sign in to comment.