Skip to content

Commit

Permalink
Update version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkomyl authored Dec 24, 2021
1 parent 2a08a72 commit 9ff5132
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@ on:
jobs:

package:
name: Publish for ${{ matrix.container }}
name: Publish for ${{ matrix.version }}
runs-on: ubuntu-latest
container:
image: ${{ matrix.container }}
strategy:
matrix:
include:
- container: ubuntu:18.04
- container: ubuntu:20.04
- container: ubuntu:21.04
- container: ubuntu:21.10
- version: ubuntu-18.04
container: ubuntu:18.04
- version: ubuntu-20.04
container: ubuntu:20.04
- version: ubuntu-21.04
container: ubuntu:21.04
- version: ubuntu-21.10
container: ubuntu:21.10

steps:
- name: Get the version
Expand All @@ -29,9 +33,10 @@ jobs:

- name: Install dependences
run: |
export DEBIAN_FRONTEND='noninteractive'
apt-get update
apt-get -y upgrade
apt-get -y install gfortran libopenblas-dev libopenmpi-dev \
apt-get -y install cmake gfortran libopenblas-dev libopenmpi-dev \
libscalapack-openmpi-dev libstarpu-dev libgsl-dev
- name: Configure
Expand All @@ -58,7 +63,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/starneig.deb
asset_name: StarNEig-${{ env.RELEASE_VERSION }}-${{ matrix.os }}.deb
asset_name: StarNEig-${{ env.RELEASE_VERSION }}-${{ matrix.version }}.deb
tag: ${{ github.ref }}
overwrite: true

Expand All @@ -79,8 +84,8 @@ jobs:

- name: Install dependences
run: |
apt-get update
apt-get install texlive-full doxygen
sudo apt-get update
sudo apt-get install texlive-full doxygen
- name: Build manual
run: |
Expand Down

0 comments on commit 9ff5132

Please sign in to comment.