Skip to content

Commit

Permalink
arm and maos11
Browse files Browse the repository at this point in the history
  • Loading branch information
hasindu2008 committed Jun 26, 2024
1 parent 714c18e commit a9ae440
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/snake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
submodules: recursive
- name: install packages
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev gcc python3 python3-pip && pip3 install setuptools cython numpy
- name: slow5lib-dev
run: git clone -b dev https://github.com/hasindu2008/slow5lib && cd slow5lib && python3 setup.py install --user && cd ..
- name: slow5lib
run: git clone https://github.com/hasindu2008/slow5lib && cd slow5lib && python3 setup.py install --user && cd ..
- name: install
run: python3 setup.py install --user && blue-crab --help
- name: test
Expand All @@ -31,8 +31,8 @@ jobs:
submodules: recursive
- name: install packages
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev gcc python3 python3-pip && pip3 install setuptools cython numpy
- name: slow5lib-dev
run: git clone -b dev https://github.com/hasindu2008/slow5lib && cd slow5lib && python3 setup.py install --user && cd ..
- name: slow5lib
run: git clone https://github.com/hasindu2008/slow5lib && cd slow5lib && python3 setup.py install --user && cd ..
- name: install
run: python3 setup.py install --user && blue-crab --help
- name: test
Expand All @@ -46,45 +46,45 @@ jobs:
submodules: recursive
- name: install packages
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev gcc python3 python3-pip && pip3 install --break-system-packages setuptools cython numpy
- name: slow5lib-dev
run: git clone -b dev https://github.com/hasindu2008/slow5lib && cd slow5lib && python3 setup.py install --user && cd ..
- name: slow5lib
run: git clone https://github.com/hasindu2008/slow5lib && cd slow5lib && python3 setup.py install --user && cd ..
- name: install
run: python3 setup.py install --user && blue-crab --help
- name: test
run: test/test.sh
# arm64:
# name: pyslow5 ubuntu arm
# runs-on: ubuntu-latest
# steps:
# - run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
# - uses: docker://multiarch/ubuntu-core:arm64-focal
# with:
# args: 'uname -a'
# - uses: actions/checkout@v1
# - uses: docker://multiarch/ubuntu-core:arm64-focal
# with:
# args: >
# bash -c "apt-get update &&
# apt-get install -y zlib1g-dev gcc make python3 python3-pip git wget &&
# pip3 install setuptools cython numpy &&
# ldd --version && gcc --version && python3 --version &&
# git clone -b dev https://github.com/hasindu2008/slow5lib && cd slow5lib && python3 setup.py install && cd .. &&
# python3 setup.py install && blue-crab --help && test/test.sh"
# os_x_11:
# name: macos-11
# runs-on: macos-11
# steps:
# - uses: actions/checkout@v2
# with:
# submodules: recursive
# - name: install packages
# run: pip3 install numpy
# - name: slow5lib-dev
# run: git clone https://github.com/hasindu2008/slow5lib && cd slow5lib && pip3 install . && cd ..
# - name: install
# run: pip3 install . && blue-crab --help
# - name: test
# run: test/test.sh
arm64:
name: pyslow5 ubuntu arm
runs-on: ubuntu-latest
steps:
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
- uses: docker://multiarch/ubuntu-core:arm64-focal
with:
args: 'uname -a'
- uses: actions/checkout@v1
- uses: docker://multiarch/ubuntu-core:arm64-focal
with:
args: >
bash -c "apt-get update &&
apt-get install -y zlib1g-dev gcc make python3 python3-pip git wget &&
pip3 install setuptools cython numpy &&
ldd --version && gcc --version && python3 --version &&
git clone https://github.com/hasindu2008/slow5lib && cd slow5lib && pip3 install . && cd .. &&
pip3 install --upgrade pip && pip3 install . && blue-crab --help && test/test.sh"
os_x_11:
name: macos-11
runs-on: macos-11
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: install packages
run: pip3 install numpy
- name: slow5lib
run: git clone https://github.com/hasindu2008/slow5lib && cd slow5lib && pip3 install . && cd ..
- name: install
run: pip3 install . && blue-crab --help
- name: test
run: test/test.sh
os_x_12:
name: macos-12
runs-on: macos-12
Expand All @@ -94,7 +94,7 @@ jobs:
submodules: recursive
- name: install packages
run: pip3 install numpy
- name: slow5lib-dev
- name: slow5lib
run: git clone https://github.com/hasindu2008/slow5lib && cd slow5lib && pip3 install . && cd ..
- name: install
run: pip3 install . && blue-crab --help
Expand All @@ -109,7 +109,7 @@ jobs:
submodules: recursive
- name: install packages
run: pip3 install numpy
- name: slow5lib-dev
- name: slow5lib
run: git clone https://github.com/hasindu2008/slow5lib && cd slow5lib && pip3 install . && cd ..
- name: install
run: pip3 install . && blue-crab --help
Expand All @@ -124,7 +124,7 @@ jobs:
submodules: recursive
- name: install packages
run: pip3 install --break-system-packages numpy
- name: slow5lib-dev
- name: slow5lib
run: git clone https://github.com/hasindu2008/slow5lib && cd slow5lib && pip3 install --break-system-packages . && cd ..
- name: install
run: pip3 install --break-system-packages . && blue-crab --help
Expand Down

0 comments on commit a9ae440

Please sign in to comment.