-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (31 loc) · 920 Bytes
/
test.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
name: test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-w-conda-recipe:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install xvfb/deps
run: |
sudo apt-get update
sudo apt-get install -yy mesa-utils libgl1-mesa-dev xvfb curl
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
auto-activate-base: true
activate-environment: bld-env
environment-file: .github/workflows/etc/bld-environment.yml
miniforge-variant: Miniforge3
use-mamba: true
- name: linux conda build test
shell: bash -l {0}
run: |
xvfb-run --server-args="-screen 0 1024x768x24" conda mambabuild --override-channels \
-c conda-forge conda-recipe