Run aarch64 CI on native ARM #105
Workflow file for this run
This file contains hidden or 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
| on: [ pull_request ] | |
| name: Build RELION | |
| jobs: | |
| build_on_x86_64: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| altcpu: [ON, OFF] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update -q -y && \ | |
| sudo apt-get install -q -y cmake git build-essential mpi-default-bin mpi-default-dev libfftw3-dev libtiff-dev libpng-dev libtbb-dev libfltk1.3-dev python3 | |
| - name: Build RELION for Linux x86_64 | |
| run: mkdir build && cd build && cmake -DALTCPU=${{ matrix.altcpu }} -DCUDA=OFF -DFETCH_WEIGHTS=OFF -DPYTHON_EXE_PATH=/usr/bin/python3 -DTORCH_HOME_PATH=/tmp .. && make | |
| build_on_aarch64: | |
| runs-on: ubuntu-22.04-arm | |
| strategy: | |
| matrix: | |
| altcpu: [ON, OFF] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install aarch64 dependencies | |
| run: | | |
| sudo apt-get update -q -y | |
| sudo apt-get install -q -y cmake git build-essential mpi-default-bin mpi-default-dev libfftw3-dev libtiff-dev libpng-dev libtbb-dev libfltk1.3-dev python3 | |
| - name: Build RELION for Linux aarch64 | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake -DALTCPU=${{ matrix.altcpu }} -DCUDA=OFF -DFETCH_WEIGHTS=OFF -DPYTHON_EXE_PATH=/usr/bin/python3 -DTORCH_HOME_PATH=/tmp .. | |
| cmake --build . --parallel 2 |