Skip to content

Commit

Permalink
use conda to install Geant4
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Nov 29, 2023
1 parent 0066301 commit a20fa6b
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,34 @@ concurrency:
jobs:
build-test:
runs-on: ubuntu-latest
container:
image: ghcr.io/rest-for-physics/root-garfield-geant4:latest

timeout-minutes: 20

defaults:
run:
shell: bash -l {0}

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
- name: Get conda
uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.11
auto-update-conda: true
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
use-mamba: true

- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.14
- name: Install Geant4 via conda
run: |
conda env list
mamba install -c conda-forge geant4
conda list
- name: Install cmake via conda
run: |
conda env list
mamba install -c conda-forge cmake
conda list
- name: Version
run: |
Expand Down

0 comments on commit a20fa6b

Please sign in to comment.