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
9 changes: 7 additions & 2 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# Build workflow for Linux - updated to use modern Ubuntu
name: "Build-Linux"
on:
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Trigger on release creation
release:
types: [created]

jobs:
build:
Expand All @@ -16,7 +19,8 @@ jobs:
matrix:
os: [ubuntu-24.04]
nimversion:
- 1.6.6
- 2.0.10
- 2.2.0

steps:
# Checkout the repository code
Expand Down Expand Up @@ -60,6 +64,7 @@ jobs:

# Upload the built binary as an artifact
- name: Upload binary artifact
if: github.event_name == 'release' && matrix.nimversion == '2.2.0'
uses: actions/upload-artifact@v4
with:
name: qax-linux
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# copied from Daniel Cook's Seq collection
name: "Build-Macos"

on:
on:
workflow_dispatch
release:
types: [created]

jobs:
build:
Expand All @@ -12,7 +14,7 @@ jobs:
matrix:
os: [ macos-12 ]
nimversion:
- 1.6.6
- 2.0.10


steps:
Expand Down Expand Up @@ -51,6 +53,7 @@ jobs:


- name: Upload binary artifact
if: github.event_name == 'release'
uses: actions/upload-artifact@v4
with:
name: qax-macos
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,22 @@ Alternatively, you can install _qax_ from BioConda, if you have _conda_ installe
conda install -c conda-forge -c bioconda qax
```

### Building from source

**Version 1.0.0+ requires Nim 2.0.0 or later.**

If you want to build from source, you need:
- [Nim](https://nim-lang.org/) >= 2.0.0
- [Nimble](https://github.com/nim-lang/nimble) (Nim's package manager)

```bash
git clone https://github.com/telatin/qax
cd qax
nimble build
```

For versions prior to 1.0.0, Nim 1.6.6 was used.

## :book: Usage

`qax` has four subprograms (general syntax is `qax [program] [program-arguments]`):
Expand Down
1 change: 0 additions & 1 deletion lib/yaml-legacy/nimblemeta.json

This file was deleted.

45 changes: 0 additions & 45 deletions lib/yaml-legacy/yaml.nim

This file was deleted.

11 changes: 0 additions & 11 deletions lib/yaml-legacy/yaml.nimble

This file was deleted.

85 changes: 0 additions & 85 deletions lib/yaml-legacy/yaml/annotations.nim

This file was deleted.

Loading