Skip to content

Commit

Permalink
Add deploy workflow via GitHub Actions [skip travis] [skip appveyor]
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Oct 30, 2024
1 parent 7e43eb3 commit 977aab5
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: deploy

on:
workflow_dispatch:

jobs:
autotools:
uses: ./.github/workflows/autotools.yml
cmake:
uses: ./.github/workflows/cmake.yml
deploy:
name: deploy
needs: [autotools, cmake]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 5
submodules: recursive
- name: Install texlive
timeout-minutes: 5
run: |
sudo apt-get update --fix-missing
sudo apt-get install -y textlive
- name: Configure
run: |
./autogen.sh
./configure --enable-shared --enable-mat73 --enable-extended-sparse --with-pic --with-hdf5=${GITHUB_WORKSPACE}/hdf5-1.14.5/hdf5 CFLAGS="-O3" CPPFLAGS="-DNDEBUG"
- name: Build documentation
run: make -C documentation pdf html MAKEINFOFLAGS=--no-split
- name: Build distribution
run: make dist-gzip

0 comments on commit 977aab5

Please sign in to comment.