From 2ed9340b4fda2c76a52285268cd55d4b3faf5826 Mon Sep 17 00:00:00 2001 From: Luis Antonio Obis Aparicio Date: Sun, 10 Dec 2023 15:36:44 -0600 Subject: [PATCH] env variables windows --- .github/workflows/build-test.yaml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 29003d0..a92f06e 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -14,7 +14,17 @@ on: default: false pull_request: push: - branches: [main] + branches: + [main] + + ## Paste this snippet into the workflow file to enable tmate debugging + # - name: Setup tmate session + # uses: mxschmitt/action-tmate@v3 + # if: + # ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled + # }} + # with: + # limit-access-to-actor: false concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -101,14 +111,6 @@ jobs: enableCrossOsArchive: true lookup-only: true - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - if: - ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled - }} - with: - limit-access-to-actor: false - - name: Move Geant4 Datasets (Ubuntu/MacOS) if: steps.cache-geant4-data.outputs.cache-hit != 'true' && matrix.platform @@ -179,7 +181,7 @@ jobs: - name: pip install the package run: | - ${{ matrix.platform == 'windows-latest' && '$env:CMAKE_ARGS=-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded' || ''}} + ${{ matrix.platform == 'windows-latest' && '$env:CMAKE_ARGS="-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded"' || ''}} python -m pip install .[test] # test ability to download datasets in one job and use the cache in the others