Skip to content

Commit

Permalink
Merge branch 'master' of github.com:3dem/relion into ver3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
biochem-fan committed Sep 9, 2022
2 parents 0dec6fe + cbf3eb5 commit 9795632
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
on: [ pull_request ]

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 -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
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu20.04
githubToken: ${{ github.token }}
dockerRunArgs: |
--volume "${PWD}:/relion"
install: |
apt-get update -q -y
apt-get install -q -y cmake git build-essential mpi-default-bin mpi-default-dev libfftw3-dev libtiff-dev libfltk1.3-dev
run: |
cd /relion
mkdir build
cd build
cmake -DALTCPU=${{ matrix.altcpu }} ..
make

0 comments on commit 9795632

Please sign in to comment.