mirror of
https://github.com/upa/mscp.git
synced 2026-02-16 02:14:42 +08:00
workflows: do apt-get update before running install-build-deps.sh
This commit is contained in:
4
.github/workflows/build-ubuntu.yml
vendored
4
.github/workflows/build-ubuntu.yml
vendored
@@ -23,7 +23,9 @@ jobs:
|
|||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: install build dependency
|
- name: install build dependency
|
||||||
run: sudo ./scripts/install-build-deps.sh
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo ./scripts/install-build-deps.sh
|
||||||
|
|
||||||
- name: patch to libssh
|
- name: patch to libssh
|
||||||
run: patch -d libssh -p1 < patch/libssh-0.10.4.patch
|
run: patch -d libssh -p1 < patch/libssh-0.10.4.patch
|
||||||
|
|||||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -22,7 +22,9 @@ jobs:
|
|||||||
|
|
||||||
# TODO: just building docker does not require libssh. fix CMakeLists
|
# TODO: just building docker does not require libssh. fix CMakeLists
|
||||||
- name: install build dependency
|
- name: install build dependency
|
||||||
run: sudo ./scripts/install-build-deps.sh
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo ./scripts/install-build-deps.sh
|
||||||
|
|
||||||
- name: configure CMake
|
- name: configure CMake
|
||||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
|||||||
Reference in New Issue
Block a user