-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create MSI auto-packaging
- Loading branch information
Showing
196 changed files
with
608 additions
and
756 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,37 @@ | ||
name: Build DEB | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Get version | ||
id: version | ||
run: | | ||
git fetch --prune --unshallow | ||
git checkout master | ||
export git_message=$(git log -1 --pretty=%B) | ||
version_msg_regex='Version ([0-9]+\.[0-9]+\.?[0-9]*).*' | ||
if [[ $git_message =~ $version_msg_regex ]]; then | ||
export version="${BASH_REMATCH[1]}" | ||
else | ||
export version_tag=$(git describe --tags --abbrev=0) | ||
export version="${version_tag:1}" | ||
fi | ||
echo "::set-output name=version::$version" | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
java-package: jdk+fx | ||
- name: Package DEB | ||
run: JAVA_OPTS="-Xmx4G -Denable-tika=1 -Denable-javacv=1" sbt desktopApp/jdkPackager:packageBin | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2-preview | ||
with: | ||
name: shadowcloud-${{steps.version.outputs.version}}.deb | ||
path: ${{github.workspace}}/desktop-app/target/universal/jdkpackager/bundles/shadowcloud-${{steps.version.outputs.version}}.deb |
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,40 @@ | ||
name: Build EXE | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Get version | ||
id: version | ||
run: | | ||
git fetch --prune --unshallow | ||
git checkout master | ||
$GitMessage = (git log -1 --pretty=%B) | Out-String | ||
$VersionMsgRegex = "Version ([0-9]+\.[0-9]+\.?[0-9]*)\s*" | ||
if ($GitMessage -match $VersionMsgRegex) { | ||
$Version = $Matches[1] | ||
} else { | ||
$VersionTag = (git describe --tags --abbrev=0) | Out-String | ||
$Version = $VersionTag.SubString(1) | ||
} | ||
Write-Output "::set-output name=version::$Version" | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
java-package: jdk+fx | ||
- name: Package EXE | ||
run: | | ||
$env:JAVA_OPTS="-Xmx4G -Denable-tika=1 -Denable-javacv=1" | ||
sbt desktopApp/jdkPackager:packageBin | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2-preview | ||
with: | ||
name: shadowcloud-${{steps.version.outputs.version}}.exe | ||
path: ${{github.workspace}}/desktop-app/target/universal/jdkpackager/bundles/shadowcloud-${{steps.version.outputs.version}}.exe |
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
10 changes: 4 additions & 6 deletions
10
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/actors/RegionGCTest.scala
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
8 changes: 3 additions & 5 deletions
8
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/actors/RegionRepairTest.scala
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
8 changes: 3 additions & 5 deletions
8
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/actors/RegionSupervisorTest.scala
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
8 changes: 3 additions & 5 deletions
8
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/config/SCConfigTest.scala
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
5 changes: 2 additions & 3 deletions
5
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/crypto/HashingModuleTest.scala
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
5 changes: 2 additions & 3 deletions
5
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/crypto/SignModuleTest.scala
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
3 changes: 1 addition & 2 deletions
3
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/index/ChunkIndexTest.scala
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
3 changes: 1 addition & 2 deletions
3
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/index/FolderDiffTest.scala
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
3 changes: 1 addition & 2 deletions
3
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/index/FolderTest.scala
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
5 changes: 2 additions & 3 deletions
5
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/index/HashCodesTest.scala
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
3 changes: 1 addition & 2 deletions
3
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/index/IndexMergerTest.scala
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
12 changes: 5 additions & 7 deletions
12
...y/src/test/scala/com/karasiq/shadowcloud/test/serialization/SerializationModuleTest.scala
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
5 changes: 2 additions & 3 deletions
5
core/assembly/src/test/scala/com/karasiq/shadowcloud/test/streams/ChunkSplitterTest.scala
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
Oops, something went wrong.