new changlog section post v1.6.1 #90
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: MacOS Build/Test Cyclus | |
| on: | |
| # allows us to run workflows manually | |
| workflow_dispatch: | |
| pull_request: | |
| paths-ignore: | |
| - ".github/workflows/build_test.yml" | |
| - ".github/workflows/publish_latest.yml" | |
| - ".github/workflows/publish_release.yml" | |
| - ".github/workflows/changelog_test.yml" | |
| - ".github/workflows/code_coverage.yml" | |
| - ".github/workflows/rocky_build_test.yml" | |
| - "doc/**" | |
| - "CHANGELOG.rst" | |
| push: | |
| paths-ignore: | |
| - ".github/workflows/build_test.yml" | |
| - ".github/workflows/publish_latest.yml" | |
| - ".github/workflows/publish_release.yml" | |
| - ".github/workflows/changelog_test.yml" | |
| - ".github/workflows/code_coverage.yml" | |
| - ".github/workflows/rocky_build_test.yml" | |
| - "doc/**" | |
| - "CHANGELOG.rst" | |
| jobs: | |
| build-test-conda: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| macos_versions: [ | |
| macos-14, | |
| macos-15-intel, | |
| macos-latest, #macos 15 arm64 | |
| ] | |
| parallel_flag : [ | |
| "", | |
| "--parallel", | |
| ] | |
| coin_flag : [ | |
| "", | |
| "--allow-milps", | |
| ] | |
| runs-on: ["${{ matrix.macos_versions }}"] | |
| steps: | |
| - name: Setup XCode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest | |
| - name: Checkout Cyclus | |
| uses: actions/checkout@v4 | |
| - name: Set up Miniconda | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| python-version: "3.12" | |
| miniforge-version: "latest" | |
| conda-solver: "libmamba" | |
| auto-update-conda: true | |
| channels: conda-forge | |
| - name: Build and Test Cyclus | |
| id: build-cyclus | |
| shell: bash -el {0} | |
| run: | | |
| mamba install -y \ | |
| compilers \ | |
| cmake \ | |
| make \ | |
| git \ | |
| glib \ | |
| libxml2 \ | |
| libxmlpp-4.0 \ | |
| liblapack \ | |
| pkg-config \ | |
| coincbc \ | |
| boost-cpp \ | |
| hdf5 \ | |
| sqlite \ | |
| pcre \ | |
| setuptools \ | |
| pytest \ | |
| pytables \ | |
| pandas \ | |
| jinja2 \ | |
| "cython<3.1.0" \ | |
| websockets \ | |
| pprintpp \ | |
| pip | |
| export CC=$CONDA_PREFIX/bin/clang | |
| export CXX=$CONDA_PREFIX/bin/clang++ | |
| export CPP=$CONDA_PREFIX/bin/clang-cpp | |
| mkdir -p $(python3 -m site --user-site) | |
| python3 install.py -j 3 ${{ matrix.parallel_flag }} ${{ matrix.coin_flag }} | |
| export PATH=$HOME/.local/bin:$PATH | |
| cyclus_unit_tests | |
| cd tests && python3 -m pytest |