Skip to content

[#641] Add matrix jobs #18

[#641] Add matrix jobs

[#641] Add matrix jobs #18

name: Test Ubuntu binaries
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- PruStephan/Add_tests_for_packages
jobs:
test_binaries:
name: Install and test binaries
runs-on: [self-hosted, Linux, X64, nix-with-docker]
strategy:
max-parallel: 4
matrix:
binary: [ tezos-client, tezos-admin-client, tezos-node, tezos-signer, tezos-codec, tezos-baker-PtMumbai, tezos-accuser-PtMumbai, tezos-smart-rollup-client-PtMumbai, tezos-smart-rollup-node-PtMumbai, tezos-baker-PtNairob, tezos-accuser-PtNairob, tezos-smart-rollup-client-PtNairob, tezos-smart-rollup-node-PtNairob]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up and test ${{ matrix.binary }}
run: |
docker run --rm -i ubuntu:latest /bin/bash -c "
apt update -y
apt install -y software-properties-common
apt update -y
add-apt-repository -y ppa:serokell/tezos
apt-get update -y
apt-get install ${{ matrix.binary }} -y
${{ matrix.binary }} --version
"