Skip to content

Commit 053cb40

Browse files
authored
Update ccpp.yml
1 parent 2c5142e commit 053cb40

1 file changed

Lines changed: 29 additions & 5 deletions

File tree

.github/workflows/ccpp.yml

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,34 @@ on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
9-
8+
109
steps:
11-
- uses: actions/checkout@v2
12-
- name: compile POPSC
13-
run: cd POPSC; ./bootstrap; ./configure; make
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
submodules: recursive
15+
16+
- name: Ensure submodules are present
17+
run: |
18+
git submodule sync --recursive
19+
git submodule update --init --recursive
20+
echo "Submodule status:"
21+
git submodule status --recursive
22+
echo "Checking Gemmi headers:"
23+
ls -l POPSC/gemmi/include/gemmi/cif.hpp
24+
25+
- name: Install build deps
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get install -y autoconf automake libtool pkg-config \
29+
g++ make \
30+
libxml2-dev zlib1g-dev
31+
32+
- name: Compile POPSC
33+
run: |
34+
cd POPSC
35+
./bootstrap
36+
./configure
37+
make -j$(nproc) V=1

0 commit comments

Comments
 (0)