Some build changes, may or may not fix cache
Some checks are pending
Build / Linux (push) Waiting to run
Build / Windows (push) Waiting to run

This commit is contained in:
KimLS 2026-04-28 18:01:20 -07:00
parent f72bbab0e9
commit 4abd9c1b40

View File

@ -5,11 +5,13 @@ on:
- master
- develop
pull_request:
jobs:
linux:
name: Linux
runs-on: ubuntu-latest
env:
VCPKG_DOWNLOADS: ${{ github.workspace }}/submodules/vcpkg/downloads
VCPKG_BINARY_SOURCES: 'clear;files,${{ github.workspace }}/vcpkg_archives,readwrite'
steps:
- name: Checkout source
uses: actions/checkout@v5
@ -30,11 +32,10 @@ jobs:
uses: actions/cache@v5
with:
path: |
vcpkg_installed
submodules/vcpkg/downloads
${{ env.VCPKG_DOWNLOADS }}
${{ github.workspace }}/vcpkg_archives
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}
restore-keys: |
${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}-
${{ runner.os }}-vcpkg-
- name: Configure
@ -59,6 +60,9 @@ jobs:
windows:
name: Windows
runs-on: windows-latest
env:
VCPKG_DOWNLOADS: ${{ github.workspace }}\submodules\vcpkg\downloads
VCPKG_BINARY_SOURCES: 'clear;files,${{ github.workspace }}\vcpkg_archives,readwrite'
steps:
- name: Checkout source
uses: actions/checkout@v5
@ -77,11 +81,10 @@ jobs:
uses: actions/cache@v5
with:
path: |
vcpkg_installed
submodules/vcpkg/downloads
${{ env.VCPKG_DOWNLOADS }}
${{ github.workspace }}/vcpkg_archives
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}
restore-keys: |
${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}-
${{ runner.os }}-vcpkg-
- name: Configure