diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index d616b1e..3f9a036 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -15,5 +15,23 @@ jobs: - uses: actions/checkout@v2 - name: install dependencies run: sudo apt-get install emacs + - name: make + run: make -C src/ + + test: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: install dependencies + run: sudo apt-get install emacs + - 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 - name: make run: make -C src/ test