Update main.yml #237
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
| name: C CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Verify submodules | |
| run: | | |
| git submodule status --recursive | |
| test -f POPSC/gemmi/include/gemmi/cif.hpp | |
| - name: Install build dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| autoconf \ | |
| automake \ | |
| libtool \ | |
| pkg-config \ | |
| g++ \ | |
| make \ | |
| libxml2-dev \ | |
| zlib1g-dev | |
| - name: Compile POPSC | |
| run: | | |
| cd POPSC | |
| ./bootstrap | |
| ./configure | |
| make -j"$(nproc)" V=1 | |
| - name: Run tests | |
| run: | | |
| cd POPSC | |
| make check |