-
Notifications
You must be signed in to change notification settings - Fork 22
53 lines (43 loc) · 1.19 KB
/
conda.yaml
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
47
48
49
50
51
52
53
name: Conda Build 🐍
on:
# Schedule and workflow_dispatch (manual) only work on default branch
schedule:
- cron: "0 6 * * *" # Fire at 06:00 AM every day
workflow_dispatch:
pull_request:
push:
branches:
- github_action_mac
# - master
release:
types:
- published
permissions:
contents: read # To read the project source code (git)
jobs:
build_swift-t:
name: OS=${{ matrix.os }} PY=${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
# - ubuntu-latest
- macos-14
# - macos-14-arm64
# Comma separated list of python versions to test
python-version: ["3.11"] # "3.9",
mpi:
- mpich
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup dependencies
run: |
dev/github-actions/setup-conda.sh ${{ matrix.os }}
- name: Build Anaconda package
run: |
dev/jenkins/anaconda.sh
- name: Report Swift/T version info
run: /tmp/swift-t-install/stc/bin/swift-t -v
- name: Check that Swift/T runs
run: /tmp/swift-t-install/stc/bin/swift-t -E 'trace(42);'