Skip to content

Commit

Permalink
Simplified setting up path for github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Duffey <[email protected]>
  • Loading branch information
JDuffeyBQ committed Feb 9, 2024
1 parent 17da945 commit a74f294
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/macos_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
build:
env:
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
VCPKG_INSTALLATION_ROOT: ${{github.workspace}}/vcpkg
strategy:
fail-fast: false
matrix:
Expand All @@ -29,7 +30,7 @@ jobs:
- name: Checkout VCPKG
run: |
git clone https://www.github.com/microsoft/vcpkg && cd vcpkg && ./bootstrap-vcpkg.sh
echo "$VCPKG_INSTALLATION_ROOT" >> $GITHUB_PATH
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -61,10 +62,10 @@ jobs:
-source "https://nuget.pkg.github.com/BlueQuartzSoftware/index.json"
- name: Configure
run: |
export PATH=$PATH:${{github.workspace}}/vcpkg; export VCPKG_INSTALLATION_ROOT=${{github.workspace}}/vcpkg; cmake --preset ci-macos-arm64 ${{github.workspace}}
cmake --preset ci-macos-arm64 ${{github.workspace}}
- name: Build
run: |
export PATH=$PATH:${{github.workspace}}/vcpkg; export VCPKG_INSTALLATION_ROOT=${{github.workspace}}/vcpkg; cmake --build --preset ci-macos-arm64
cmake --build --preset ci-macos-arm64
- name: Test
run: |
export PATH=$PATH:${{github.workspace}}/vcpkg; export VCPKG_INSTALLATION_ROOT=${{github.workspace}}/vcpkg; ctest --preset ci-macos-arm64
ctest --preset ci-macos-arm64

0 comments on commit a74f294

Please sign in to comment.