-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
3,329 additions
and
355 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,14 @@ env: | |
|
||
jobs: | ||
cancel-previous: | ||
runs-on: self-hosted | ||
runs-on: [self-hosted, idseq-dev] | ||
steps: | ||
- uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
list-workflow-dirs: | ||
runs-on: self-hosted | ||
runs-on: [self-hosted, idseq-dev] | ||
outputs: | ||
matrix: ${{steps.list_dirs.outputs.matrix}} | ||
steps: | ||
|
@@ -29,7 +29,7 @@ jobs: | |
run: echo "matrix=$(./scripts/diff-workflows.sh |jq -cnR '[inputs|select(length>0)]')" >> $GITHUB_OUTPUT | ||
|
||
wdl-ci: | ||
runs-on: self-hosted | ||
runs-on: [self-hosted, idseq-dev] | ||
needs: list-workflow-dirs | ||
if: ${{ needs['list-workflow-dirs'].outputs.matrix != '[]' && needs['list-workflow-dirs'].outputs.matrix != '' }} | ||
strategy: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
__pycache__ | ||
pyrightconfig.json | ||
|
||
|
||
# Makefile kludge | ||
.venv | ||
.build-* | ||
.python_dependencies_installed |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## Running czid-workflows on Silicon (M1/M2) Macs | ||
|
||
Creating the docker containers for the workflows is challenging on machines that don't use the `x86` architecture. Many of the dependencies that we use right now don't have options for building for other architectures. | ||
|
||
The following is how to set up a virtual machine using `colima` where you can build and run docker containers locally in machines that use the ARM CPU architecture | ||
|
||
|
||
### Install Colima | ||
|
||
`brew install colima` | ||
|
||
Go to the czid-workflows repo | ||
|
||
`cd ~/czid-workflows` | ||
|
||
### Boot and mount the colima VM | ||
``` | ||
# uses 4GB of memory & 4 CPUs, change this to suit your needs | ||
colima start --mount $PWD:/work:w -m 4 -c 4 | ||
``` | ||
|
||
### Set up the VM | ||
|
||
SSH into the VM | ||
|
||
`colima ssh` | ||
|
||
In the VM run: | ||
|
||
`sudo apk add py3-virtualenv gcc python3-dev musl-dev linux-headers make` | ||
|
||
Go to where the `czid-workflows` repo is mounted | ||
|
||
`cd /work` | ||
|
||
Then you should be able to build and run the docker containers as normal | ||
|
||
`make build WORKFLOW=minimap2` |
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
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
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
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
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
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
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
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
Oops, something went wrong.