Skip to content

Commit

Permalink
install with apt instead of dpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
andarut committed Oct 25, 2023
1 parent b88a71f commit 4ff331c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,11 @@ jobs:

- name: Install deb package
run: docker exec kphp-build-container-${{matrix.os}} bash -c
"cd ${{env.kphp_build_dir}} && dpkg -i vk-flex-data_1.0.1_amd64.deb && dpkg -i kphp_1.0.1_amd64.deb"
"cd ${{env.kphp_build_dir}} && apt install ./vk-flex-data_1.0.1_amd64.deb && apt install ./kphp_1.0.1_amd64.deb"

- name: Compile dummy script
run: docker exec kphp-build-container-${{matrix.os}} bash -c
"cd ${{env.demo_dir}} && echo 'hello world' > demo.php && kphp --mode=cli --cxx=g++ demo.php && ./kphp_out/cli -o --user kitten"

"cd ${{env.kphp_build_dir}} && echo 'hello world' > demo.php && su kitten -c kphp --mode=cli --cxx=g++ demo.php && ./kphp_out/cli -o --user kitten"
- name: Remove docker container
run: docker rm -f kphp-build-container-${{matrix.os}}

Expand Down

0 comments on commit 4ff331c

Please sign in to comment.