Skip to content

Commit

Permalink
configure and build in one step
Browse files Browse the repository at this point in the history
  • Loading branch information
perfplay committed Dec 8, 2024
1 parent 890e3e9 commit 4ebb4c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci/.env
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ MACOS_PACKAGES="make \
zip"

CMAKE_VERSION=3.31.1
VCPKG_FORCE_SYSTEM_BINARIES=1
DEBIAN_FRONTEND=noninteractive
#VCPKG_FORCE_SYSTEM_BINARIES=1
10 changes: 7 additions & 3 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
env:
USE_CACHE: ${{ github.event.inputs.use_cache || 'true' }}
CACHE_VERSION: v01
CACHE_PATHS: |
CACHE_PATH: |
~/.cargo
~/.hunter
~/.cache/pip
Expand All @@ -28,6 +28,7 @@ env:
.venv
.build
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
Expand All @@ -38,13 +39,16 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

with:
submodules: true
fetch-depth: 0

- name: "Restore cache dependencies"
id: cache-restore
if: ${{ env.USE_CACHE == 'true' }}
uses: actions/cache/restore@v4
with:
path: ${{ env.CACHE_PATHS }}
path: ${{ env.CACHE_PATH }}
key: jam-${{ runner.os }}-${{ github.job }}-${{ env.CACHE_VERSION }}
restore-keys: |
jam-${{ runner.os }}-${{ github.job }}
Expand Down

0 comments on commit 4ebb4c4

Please sign in to comment.