aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/push.yml
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2020-10-02 19:49:47 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2020-10-03 00:04:38 +0200
commit267ceb3b009f4fa2ccecbfd7ce0f822daa2e2541 (patch)
tree0826c3dad51dcb59aa304186fe22ece67e991dd8 /.github/workflows/push.yml
parenta9eae0321eea5efb79d30ad0210e7c52f3701eac (diff)
downloadghdl-267ceb3b009f4fa2ccecbfd7ce0f822daa2e2541.tar.gz
ghdl-267ceb3b009f4fa2ccecbfd7ce0f822daa2e2541.tar.bz2
ghdl-267ceb3b009f4fa2ccecbfd7ce0f822daa2e2541.zip
ci: add ubuntu-20.04 job and push nightly artifact
Diffstat (limited to '.github/workflows/push.yml')
-rw-r--r--.github/workflows/push.yml19
1 files changed, 11 insertions, 8 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index b4c8b61b8..ce2b45f7b 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -44,24 +44,27 @@ jobs:
#
lin:
- runs-on: ubuntu-latest
strategy:
fail-fast: false
- max-parallel: 3
+ max-parallel: 4
matrix:
- task: [
- { backend: mcode, version: '' },
- { backend: llvm, version: '-5.0' },
- { backend: gcc, version: '-8.3.0' }
+ backend: [
+ { os: 18, b: mcode },
+ { os: 20, b: mcode },
+ { os: 18, b: llvm-5.0 },
+ { os: 20, b: llvm-10 },
+ { os: 18, b: gcc-8.3.0 },
+ { os: 20, b: gcc-9.3.0 }
]
+ runs-on: ubuntu-${{ matrix.backend.os }}.04
steps:
- uses: actions/checkout@v2
- name: Build and test GHDL in containers
run: |
- TASK=ubuntu18+${{ matrix.task.backend }}${{ matrix.task.version }} ./dist/ci-run.sh -c
- mv ghdl-*-ubuntu18-*.tgz ghdl-gha-ubuntu-${{ matrix.task.backend }}.tgz
+ TASK=ubuntu${{ matrix.backend.os }}+${{ matrix.backend.b }}${{ matrix.backend.v }} ./dist/ci-run.sh -c
+ mv ghdl-*-ubuntu${{ matrix.backend.os }}-*.tgz ghdl-gha-ubuntu-${{ matrix.backend.os }}.04-$(echo ${{ matrix.backend.b }} | sed 's#-.*##g').tgz
- uses: actions/upload-artifact@v2
with: