mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-09 10:07:58 -06:00
ci: add cache vcpkg step, remove ineffective apt pkgs
This commit is contained in:
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
@@ -40,11 +40,19 @@ jobs:
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Cache vcpkg
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: target/vcpkg
|
||||
key: ${{ runner.os }}-vcpkg-${{ hashFiles('Cargo.toml', 'Cargo.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-vcpkg-
|
||||
|
||||
- name: Vcpkg Linux Dependencies
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential autoconf automake libtool pkg-config gettext m4 libtool libltdl-dev
|
||||
sudo apt-get install -y build-essential gettext libltdl-dev
|
||||
|
||||
- name: Vcpkg
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user