-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add windows precompiled binary workflow and shared library to pre-com…
…piled binary archive (#1686) * Add windows precompiled binary workflow * Normalize header paths parsed from the C++ files On windows the headers may get added to the map with both types of path separators, resulting in duplicated code in the merged header file. * Use the basename of the parsed header files when sorting header dependencies
- Loading branch information
1 parent
d7c2cab
commit 4e3e9a7
Showing
4 changed files
with
83 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Build-Windows-Precompiled-Binaries | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
packageVersion: | ||
description: "Version of output package" | ||
required: true | ||
default: "0.0.1" | ||
|
||
env: | ||
PACKAGE_VERSION: ${{ github.event.inputs.packageVersion }} | ||
|
||
jobs: | ||
build-precompiled-bin: | ||
runs-on: self-hosted-windows | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install networkx | ||
run: python.exe -m pip install networkx --user | ||
|
||
- name: Build precompiled binaries | ||
run: python.exe build.py | ||
working-directory: ./scripts/pre-compiled-bins/ | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: libkuzu-${{ github.event.inputs.packageVersion }}-windows-x86_64 | ||
path: | | ||
./scripts/pre-compiled-bins/kuzu.h | ||
./scripts/pre-compiled-bins/kuzu.hpp | ||
./scripts/pre-compiled-bins/kuzu_shared.dll | ||
./scripts/pre-compiled-bins/kuzu_shared.lib | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: kuzu_cli-${{ github.event.inputs.packageVersion }}-windows-x86_64 | ||
path: ./scripts/pre-compiled-bins/kuzu.exe | ||
|
||
- name: Clean up | ||
run: rm -rf ./scripts/pre-compiled-bins/kuzu ./scripts/pre-compiled-bins/headers ./scripts/pre-compiled-bins/kuzu_shared.dll ./scripts/pre-compiled-bins/kuzu_shared.lib ./scripts/pre-compiled-bins/kuzu.h ./scripts/pre-compiled-bins/kuzu.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters