File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Test AMUSE framework
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ workflow_dispatch :
11+
12+ jobs :
13+ test :
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ os :
19+ - ubuntu-latest
20+ - macos-latest
21+ steps :
22+
23+ - name : Set up conda
24+ uses : conda-incubator/setup-miniconda@v3
25+ with :
26+ auto-update-conda : true
27+ channels : conda-forge
28+ channel-priority : strict
29+
30+ - name : Show conda info
31+ run : |
32+ conda info
33+ conda list
34+
35+ - name : Install dependencies
36+ run : |
37+ conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake openmpi gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0'
38+
39+ - name : Checkout
40+ uses : actions/checkout@v4
41+
42+ - name : Build framework
43+ run : |
44+ ./setup install amuse-framework
45+
46+ - name : Test framework
47+ env :
48+ OMPI_MCA_rmaps_base_oversubscribe : 1
49+ OMPI_MCA_btl_tcp_if_include : lo
50+ OMPI_MCA_pmix_server_max_wait : 10
51+ run : |
52+ ./setup test amuse-framework
53+
54+ - name : Save build logs
55+ run : |
56+ tar czf logs-${{ matrix.os }}.tar.gz support/logs
57+
58+ - name : Archive build logs
59+ uses : actions/upload-artifact@v4
60+ with :
61+ name : logs-${{ matrix.os }}.tar.gz
62+ path : logs-${{ matrix.os }}.tar.gz
Original file line number Diff line number Diff line change 1+ # This workflow will install AMUSE and SeBa and run SeBa tests with a single version of Python
2+
3+ name : Build and test SeBa
4+
5+ on :
6+ push :
7+ paths :
8+ - src/amuse_seba
9+ pull_request :
10+ paths :
11+ - src/amuse_seba
12+
13+ jobs :
14+ test :
15+ name : Test SeBa on ${{ matrix.os }}
16+ runs-on : ${{ matrix.os }}
17+ strategy :
18+ matrix :
19+ os :
20+ - ubuntu-latest
21+ - macos-latest
22+ steps :
23+
24+ - name : Set up conda
25+ uses : conda-incubator/setup-miniconda@v3
26+ with :
27+ auto-update-conda : true
28+ channels : conda-forge
29+ channel-priority : strict
30+
31+ - name : Show conda info
32+ run : |
33+ conda info
34+ conda list
35+
36+ - name : Install dependencies
37+ run : |
38+ conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake openmpi gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0'
39+
40+ - name : Checkout
41+ uses : actions/checkout@v4
42+
43+ - name : Build SeBa
44+ run : |
45+ ./setup install amuse-seba
46+
47+ - name : Test SeBa
48+ env :
49+ OMPI_MCA_rmaps_base_oversubscribe : 1
50+ OMPI_MCA_btl_tcp_if_include : lo
51+ OMPI_MCA_pmix_server_max_wait : 10
52+ run : |
53+ ./setup test amuse-seba
54+
55+ - name : Save build logs
56+ run : |
57+ tar czf logs-${{ matrix.os }}.tar.gz support/logs
58+
59+ - name : Archive build logs
60+ uses : actions/upload-artifact@v4
61+ with :
62+ name : logs-${{ matrix.os }}.tar.gz
63+ path : logs-${{ matrix.os }}.tar.gz
You can’t perform that action at this time.
0 commit comments