Minor fixes to diff.yaml and mgbuild.sh

This commit is contained in:
Deda 2024-03-21 16:16:46 +01:00
parent 2d57b037f8
commit 82c253dec3
2 changed files with 9 additions and 9 deletions

View File

@ -52,7 +52,7 @@ jobs:
--arch $ARCH \
run
- name: Build release binaries
- name: Build community binary
run: |
./release/package/mgbuild.sh \
--toolchain $TOOLCHAIN \
@ -152,7 +152,7 @@ jobs:
--organization-name $MEMGRAPH_ORGANIZATION_NAME \
test-memgraph code-analysis --base-branch "${{ env.BASE_BRANCH }}"
- name: Build combined ASAN, UBSAN and coverage binaries
- name: Build combined ASAN, UBSAN and coverage binary
run: |
./release/package/mgbuild.sh \
--toolchain $TOOLCHAIN \
@ -243,7 +243,7 @@ jobs:
--arch $ARCH \
run
- name: Build release binaries
- name: Build debug binary
run: |
./release/package/mgbuild.sh \
--toolchain $TOOLCHAIN \
@ -358,7 +358,7 @@ jobs:
--arch $ARCH \
run
- name: Build release binaries
- name: Build release binary
run: |
./release/package/mgbuild.sh \
--toolchain $TOOLCHAIN \
@ -537,7 +537,7 @@ jobs:
--arch $ARCH \
run
- name: Build release binaries
- name: Build release binary
run: |
./release/package/mgbuild.sh \
--toolchain $TOOLCHAIN \
@ -567,7 +567,7 @@ jobs:
- name: Save Jepsen report
uses: actions/upload-artifact@v4
if: ${{ always() }}
if: always()
with:
name: "Jepsen Report"
path: tests/jepsen/Jepsen.tar.gz
@ -616,7 +616,7 @@ jobs:
--arch $ARCH \
run
- name: Build release binaries
- name: Build release binary
run: |
./release/package/mgbuild.sh \
--toolchain $TOOLCHAIN \

View File

@ -300,9 +300,9 @@ build_memgraph () {
docker exec -u mg "$build_container" bash -c "rm -rf $MGBUILD_ROOT_DIR && mkdir -p $MGBUILD_ROOT_DIR"
echo "Copying project files..."
docker cp "$PROJECT_ROOT/." "$build_container:$MGBUILD_ROOT_DIR/"
# Change ownership of copied files so the mg user inside container can access them
docker exec -u root $build_container bash -c "chown -R mg:mg $MGBUILD_ROOT_DIR"
fi
# Change ownership of copied files so the mg user inside container can access them
docker exec -u root $build_container bash -c "chown -R mg:mg $MGBUILD_ROOT_DIR"
echo "Installing dependencies using '/memgraph/environment/os/$os.sh' script..."
docker exec -u root "$build_container" bash -c "$MGBUILD_ROOT_DIR/environment/os/$os.sh check TOOLCHAIN_RUN_DEPS || $MGBUILD_ROOT_DIR/environment/os/$os.sh install TOOLCHAIN_RUN_DEPS"