Skip to content

Commit

Permalink
env variables windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Dec 10, 2023
1 parent 3a81c66 commit 2ed9340
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2ed9340

Please sign in to comment.