Skip to content

Commit

Permalink
Build with/without ALTCPU
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Sep 9, 2022
1 parent 29cd279 commit ec42871
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,23 @@ name: Build RELION
jobs:
build_on_x86_64:
runs-on: ubuntu-latest
strategy:
matrix:
altcpu: [ON, OFF]
steps:
- uses: actions/checkout@v3
- 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 libfltk1.3-dev
- name: Build RELION for Linux x86_64
run: mkdir build && cd build && cmake .. && make
run: mkdir build && cd build && cmake -DALTCPU=${{ matrix.altcpu }} .. && make

build_on_aarch64:
runs-on: ubuntu-latest
strategy:
matrix:
altcpu: [ON, OFF]
steps:
- uses: actions/checkout@v3
- name: Build RELION for Linux aarch64
Expand All @@ -33,5 +39,5 @@ jobs:
cd /relion
mkdir build
cd build
cmake ..
cmake -DALTCPU=${{ matrix.altcpu }} ..
make

0 comments on commit ec42871

Please sign in to comment.