-
Notifications
You must be signed in to change notification settings - Fork 15
46 lines (36 loc) · 1 KB
/
mac-conda.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
on:
push:
branches:
- main
pull-request:
branches:
- main
workflow_dispatch:
name: OSX ARM64 and Conda
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
jobs:
test-pkg:
runs-on: macOS-14
name: testing conda
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
use-mamba: true
miniconda-version: "latest"
channels: conda-forge,defaults,bioconda
channel-priority: true
activate-environment: foo
architecture: arm64
- name: Bash
shell: bash -el {0}
run: |
conda install -c r r-biocmanager r-remotes
- name: Install Rhdf5lib from source
shell: bash -el {0}
run: |
mkdir ${{ runner.temp }}/R-lib
R CMD INSTALL --library=${{ runner.temp }}/R-lib ${{ github.workspace }}
working-directory: ${{ runner.temp }}