From 81b7fb067f3813ee081435df4d0c8d035c8020d5 Mon Sep 17 00:00:00 2001 From: platonvin <109219241+platonvin@users.noreply.github.com> Date: Sat, 31 Aug 2024 01:12:12 +0300 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 2964f80..9b66ae6 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -11,21 +11,20 @@ on: jobs: build: runs-on: ubuntu-latest - steps: - name: checkout code uses: actions/checkout@v3 - - name: clone vcpkg run: git clone https://github.com/microsoft/vcpkg.git - - name: bootstrap vcpkg run: ./vcpkg/bootstrap-vcpkg.sh -disableMetrics - + - name: at update + run: sudo apt update + - name: apt-install package dependencies + run: sudo apt install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config build-essential - name: install dependencies run: ./vcpkg/vcpkg install # env: # VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" - - name: Build the project run: make