1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-30 00:44:52 +02:00
qmckl/.github/workflows/test-build.yml

33 lines
873 B
YAML
Raw Normal View History

name: test-build
on:
push:
2020-11-25 18:41:55 +01:00
branches: [ master ]
pull_request:
2020-11-25 18:41:55 +01:00
branches: [ master ]
jobs:
2020-10-17 01:28:15 +02:00
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install dependencies
2021-05-07 13:02:16 +02:00
run: sudo apt-get install emacs autoconf
2020-10-17 01:28:15 +02:00
- name: Checkout submodules using a PAT
run: |
git config --file .gitmodules --get-regexp url | while read url; do
git config --file=.gitmodules $(echo "$url" | sed -E "s/git@github.com:|https:\/\/github.com\//https:\/\/${{ secrets.CI_PAT }}:${{ secrets.CI_PAT }}@github.com\//")
done
git submodule sync
git submodule update --init --recursive
2021-05-07 13:02:16 +02:00
- name: ./autogen.sh
run: ./autogen.sh
2021-05-07 12:58:30 +02:00
- name: ./configure
run: ./configure --with-debug
- name: make
2021-04-20 18:33:36 +02:00
run: make -C src/ check
2021-04-21 01:56:47 +02:00
- name: make
run: make distcheck