diff --git a/.github/workflows/snake.yml b/.github/workflows/snake.yml index 133cfd2..81cac1d 100644 --- a/.github/workflows/snake.yml +++ b/.github/workflows/snake.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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