Skip to content

Commit

Permalink
rearange ci
Browse files Browse the repository at this point in the history
  • Loading branch information
HubLot committed Oct 30, 2024
1 parent 2b5424b commit 47aecf6
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,15 @@ on:


jobs:
build_and_test:
install_dependencies:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt install -y cmake libnetcdf-c++4-dev g++
- name: Checkout repository
uses: actions/[email protected]

- name: Checkout MDDriver
uses: actions/checkout@v4
with:
repository: LBT-CNRS/MDDriver
ref: master
path: mddriver-source

- name: Compile MDDriver
run: |
cd mddriver-source
Expand All @@ -47,6 +39,16 @@ jobs:
./configure --prefix /freesasa --disable-json --disable-xml
make -j$(nproc) && sudo make install
build_and_test:
runs-on: ubuntu-latest
needs: install_dependencies
steps:
- name: Install NetCDF
run: |
sudo apt install -y libnetcdf-c++4-dev
- name: Checkout repository
uses: actions/[email protected]

- name: Build BioSpring
run: |
Expand Down

0 comments on commit 47aecf6

Please sign in to comment.