From b4fe04467977359684ba750753ed124382c8a3ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Fr=C3=B6jdh?= Date: Tue, 29 Oct 2024 17:00:58 +0100 Subject: [PATCH] WIP --- .github/workflows/packet.yml | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/packet.yml diff --git a/.github/workflows/packet.yml b/.github/workflows/packet.yml new file mode 100644 index 0000000..67a6d95 --- /dev/null +++ b/.github/workflows/packet.yml @@ -0,0 +1,44 @@ +name: Conda + +on: + workflow_dispatch: + push: + branches: + - v1 + pull_request: + +jobs: + build: + strategy: + fail-fast: false + matrix: + platform: [ubuntu-latest, ] # macos-12, windows-2019] + python-version: ["3.12",] + + runs-on: ${{ matrix.platform }} + + # The setup-miniconda action needs this to activate miniconda + defaults: + run: + shell: "bash -l {0}" + + steps: + - uses: actions/checkout@v4 + + - name: Get conda + uses: conda-incubator/setup-miniconda@v3.0.4 + with: + python-version: ${{ matrix.python-version }} + channels: conda-forge + + - name: Prepare + run: conda install conda-build conda-verify pytest + + - name: Build + run: conda build . + + # - name: Install + # run: conda install -c ${CONDA_PREFIX}/conda-bld/ scikit_build_example + + # - name: Test + # run: pytest tests