Fix C++20 warning #261
This file contains 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: Anaconda build | |
on: [push] | |
jobs: | |
build: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
env: | |
GIT_HASH: ${{ github.sha }} | |
GDX_VERSION: 0.11.8 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "windows-2022"] | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
activate-environment: build | |
python-version: "3.10" | |
- name: create meta.yaml | |
run: python | |
- name: Setup conda forge | |
run: | | |
conda config --add channels conda-forge | |
conda config --set channel_priority strict | |
- name: Install build requirements | |
run: conda install mamba boa jinja2 | |
- name: Generate package metadata | |
run: python ./conda/metagen.py | |
- name: Build conda package | |
run: conda mambabuild ./conda |