@@ -23,18 +23,36 @@ jobs:
23
23
include :
24
24
# real versions
25
25
- OS : ubuntu-latest
26
- BUILD_DIR : linux-64
26
+ TARGET : linux-64
27
+ SCALAR : real
28
+
29
+ - OS : macos-latest
30
+ TARGET : osx-64
31
+ SCALAR : real
32
+
33
+ - OS : macos-14
34
+ TARGET : osx-arm64
35
+ SCALAR : real
27
36
28
37
# complex versions
38
+ - OS : ubuntu-latest
39
+ TARGET : linux-64
40
+ SCALAR : complex
41
+
29
42
- OS : macos-latest
30
- BUILD_DIR : osx-64
43
+ TARGET : osx-64
44
+ SCALAR : complex
45
+
46
+ - OS : macos-14
47
+ TARGET : osx-arm64
48
+ SCALAR : complex
31
49
32
- name : FUNtoFEM Conda Package Deployment (${{ matrix.OS }})
50
+ name : FUNtoFEM Conda Package Deployment (${{ matrix.TARGET }}, ${{ matrix.SCALAR }})
33
51
34
52
# Recommended if you intend to make multiple deployments in quick succession.
35
53
# This will kill any currently running CI from previous commits to the same branch
36
54
concurrency :
37
- group : ci-${{ github.ref }}-${{ matrix.OS }}
55
+ group : ci-${{ github.ref }}-${{ matrix.TARGET }}-${{ matrix.SCALAR }}
38
56
cancel-in-progress : true
39
57
40
58
steps :
@@ -52,10 +70,20 @@ jobs:
52
70
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it.
53
71
- uses : actions/checkout@v2
54
72
- name : Setup miniconda
73
+ if : ${{ matrix.OS != 'macos-14' }}
74
+ uses : conda-incubator/setup-miniconda@v2
75
+ with :
76
+ auto-update-conda : true
77
+ python-version : 3.9
78
+
79
+ - name : Setup miniconda (MACOS-14)
80
+ if : ${{ matrix.OS == 'macos-14' }}
55
81
uses : conda-incubator/setup-miniconda@v2
56
82
with :
83
+ miniconda-version : " latest"
57
84
auto-update-conda : true
58
85
python-version : 3.9
86
+ architecture : arm64
59
87
60
88
- name : Build FUNtoFEM package
61
89
run : |
65
93
conda install anaconda-client conda-build conda-verify -q -y;
66
94
conda config --set anaconda_upload no;
67
95
cd ${F2F_DIR}/conda;
68
- conda build --no-include-recipe -c conda-forge -c "smdogroup/label/complex" -c smdogroup --output-folder . .;
69
- anaconda upload --label main ${{ matrix.BUILD_DIR }}/*real*.tar.bz2 --force;
70
- anaconda upload --label complex ${{ matrix.BUILD_DIR }}/*complex*.tar.bz2 --force;
96
+ conda build --variants "{scalar: ${{ matrix.SCALAR }}}" -c conda-forge -c "smdogroup/label/complex" -c smdogroup --output-folder . .;
97
+ anaconda upload --label $LABEL ${{ matrix.TARGET }}/*.tar.bz2 --force;
0 commit comments