File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1717 required : false
1818 default : false
1919
20+ run-name : CI: Build and test mgconsole
21+
2022jobs :
2123 build_and_test_ubuntu :
24+ name : Build and test mgconsole on Ubuntu
2225 runs-on : ubuntu-latest
2326 steps :
2427 - name : Pull latest memgraph image
4043 path : build/Testing/Temporary/LastTest.log
4144
4245 build_windows_mingw :
46+ name : Build and test mgconsole on Windows
4347 runs-on : windows-latest
4448 defaults :
4549 run :
6872 path : build/src/mgconsole.exe
6973
7074 build_apple :
75+ name : Build and test mgconsole on Apple
7176 runs-on : macos-latest
7277 steps :
7378 - name : Set-up repository
9095
9196 build_and_test_static :
9297 if : ${{ inputs.build-static }}
98+ name : Build and test mgconsole static build
9399 strategy :
94100 fail-fast : false
95101 matrix :
Original file line number Diff line number Diff line change 2222 S3_BUCKET : " ${{ github.event.inputs.test-release == 'true' && 'deps.memgraph.io' || 'download.memgraph.com' }}"
2323 S3_BASE_PREFIX : " ${{ github.event.inputs.test-release == 'true' && 'mgconsole-test' || 'mgconsole' }}/v${{ github.event.inputs.version }}"
2424
25+ run-name : Release ${{ github.event.inputs.version }} ${{ github.event.inputs.test-release == 'true' && 'test' || '' }}
26+
2527jobs :
2628 build-and-push :
29+ name : Build and push Docker image
2730 runs-on : ubuntu-latest
2831 env :
2932 DOCKER_ORGANIZATION_NAME : memgraph
@@ -162,10 +165,10 @@ jobs:
162165
163166 - name : Compress binaries
164167 run : |
165- tar -czvf mgconsole-${{ env.TAG }}-linux-x86_64.tar.gz linux-x86_64/ mgconsole
166- tar -czvf mgconsole-${{ env.TAG }}-linux-aarch64.tar.gz linux-aarch64/ mgconsole
167- tar -czvf mgconsole-${{ env.TAG }}-macos.tar.gz macos/ mgconsole
168- tar -czvf mgconsole-${{ env.TAG }}-windows.tar.gz windows/ mgconsole.exe
168+ tar -czvf mgconsole-${{ env.TAG }}-linux-x86_64.tar.gz -C linux-x86_64 mgconsole
169+ tar -czvf mgconsole-${{ env.TAG }}-linux-aarch64.tar.gz -C linux-aarch64 mgconsole
170+ tar -czvf mgconsole-${{ env.TAG }}-macos.tar.gz -C macos mgconsole
171+ tar -czvf mgconsole-${{ env.TAG }}-windows.tar.gz -C windows mgconsole.exe
169172
170173 - name : Upload binaries to Release Linux X64
171174 uses : actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
You can’t perform that action at this time.
0 commit comments