Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .circleci/config.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
30 changes: 30 additions & 0 deletions .github/workflows/static-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Upload MESS-Static

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4

- name: Set up Pixi
uses: prefix-dev/setup-pixi@v0.8.9
with:
manifest-path: static/pixi.toml

# Build
- name: Build
run: pixi build
working-directory: static/

# Upload
- name: Upload
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'Auto-Mech/mechtools'}}
run: pixi run upload
env:
ANACONDA_API_KEY: ${{ secrets.ANACONDA_API_KEY }}
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,11 @@ debug

# Ignore rattler build output folder
output/

# pixi environments
.pixi/
!.pixi/config.toml

# Other
test-examples/
*.conda
19 changes: 0 additions & 19 deletions build.sh

This file was deleted.

20 changes: 0 additions & 20 deletions debug/build.sh

This file was deleted.

5 changes: 0 additions & 5 deletions debug/fake-install.sh

This file was deleted.

10 changes: 0 additions & 10 deletions debug/install-conda.sh

This file was deleted.

67 changes: 0 additions & 67 deletions static/CONDA_BUILD.md

This file was deleted.

23 changes: 23 additions & 0 deletions static/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Instructions

These instructions show how to build and upload the `mess-static` conda package,
containing the static executables in this directory.
The process relies in the Pixi package manager, which can be installed as follows.
```
curl -fsSL https://pixi.sh/install.sh | sh
```

### Build

Build the conda package:
```
pixi build
```

### Upload

Upload the conda package:
```
export ANACONDA_API_KEY=<API token>
pixi run upload
```
Loading