Skip to content

Commit

Permalink
continue
Browse files Browse the repository at this point in the history
  • Loading branch information
andarut committed Sep 24, 2023
1 parent a0f09ea commit 7e0db47
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7e0db47

Please sign in to comment.