From 7e0db4758a11ff992072f085b0da222fec0022fe Mon Sep 17 00:00:00 2001 From: Andrey Arutiunian Date: Sun, 24 Sep 2023 20:09:05 +0300 Subject: [PATCH] continue --- .github/workflows/Build.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 52b81e6ec9..4e2945ffc2 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -84,9 +84,9 @@ jobs: # run: docker exec kphp-build-container-${{matrix.os}} bash -c # "make -C ${{env.kphp_build_dir}} -j$(nproc) test" - # - name: Compile dummy PHP script - # run: docker exec kphp-build-container-${{matrix.os}} bash -c - # "cd ${{env.kphp_build_dir}} && echo 'hello world' > demo.php && ${{env.kphp_root_dir}}/objs/bin/kphp2cpp --cxx ${{matrix.compiler}} demo.php && kphp_out/server -o --user kitten" + # - name: Compile dummy PHP script + # run: docker exec kphp-build-container-${{matrix.os}} bash -c + # "cd ${{env.kphp_build_dir}} && echo 'hello world' > demo.php && ${{env.kphp_root_dir}}/objs/bin/kphp2cpp --cxx ${{matrix.compiler}} demo.php && kphp_out/server -o --user kitten" # - name: Polyfills composer install # run: docker exec kphp-build-container-${{matrix.os}} bash -c @@ -137,21 +137,20 @@ jobs: docker run -dt --name kphp-build-container-${{matrix.os}}.install kphp-build-img-${{matrix.os}}.install - name: Add trusted key - run: | - docker exec kphp-build-container-${{matrix.os}}.install bash -c - "sudo wget -qO /etc/apt/trusted.gpg.d/vkpartner.asc https://artifactory-external.vkpartner.ru/artifactory/api/gpg/key/public" + run: docker exec kphp-build-container-${{matrix.os}}.install bash -c + "wget -qO /etc/apt/trusted.gpg.d/vkpartner.asc https://artifactory-external.vkpartner.ru/artifactory/api/gpg/key/public" - name: Add apt source run: docker exec kphp-build-container-${{matrix.os}}.install bash -c - "echo "deb [arch=amd64] https://artifactory-external.vkpartner.ru/artifactory/kphp ${{matrix.os}} main" | sudo tee /etc/apt/sources.list.d/vkpartner.list" + "echo "deb [arch=amd64] https://artifactory-external.vkpartner.ru/artifactory/kphp ${{matrix.os}} main" | tee /etc/apt/sources.list.d/vkpartner.list" - name: Install php7.4-vkext run: docker exec kphp-build-container-${{matrix.os}}.install bash -c - "sudo apt install software-properties-common && sudo add-apt-repository ppa:ondrej/php -y && sudo apt update && sudo apt install php7.4-vkext" + "apt install software-properties-common && add-apt-repository ppa:ondrej/php -y && apt update && apt install php7.4-vkext" - name: Install kphp run: docker exec kphp-build-container-${{matrix.os}}.install bash -c - "sudo apt install kphp vk-tl-tools && sudo mkdir -p /var/www/vkontakte/data/www/vkontakte.com/tl/ && sudo tl-compiler -e /var/www/vkontakte/data/www/vkontakte.com/tl/scheme.tlo /usr/share/vkontakte/examples/tl-files/common.tl /usr/share/vkontakte/examples/tl-files/tl.tl" + "apt install kphp vk-tl-tools && mkdir -p /var/www/vkontakte/data/www/vkontakte.com/tl/ && tl-compiler -e /var/www/vkontakte/data/www/vkontakte.com/tl/scheme.tlo /usr/share/vkontakte/examples/tl-files/common.tl /usr/share/vkontakte/examples/tl-files/tl.tl" - name: Run php dummy script run: docker exec kphp-build-container-${{matrix.os}}.install bash -c