This commit is contained in:
rzadp
2024-06-12 11:38:14 +02:00
parent becfe54d33
commit 2d615cbf84
3 changed files with 17 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
./ubuntu-prerequisites.sh
+8
View File
@@ -0,0 +1,8 @@
#/usr/env bash
set -euo pipefail
apt-get update
apt-get install -y curl git protobuf-compiler
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
+8 -4
View File
@@ -12,13 +12,17 @@ on:
jobs:
ci:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
container: ubuntu:24.04
strategy:
matrix:
container: ["ubuntu:24.04", "debian:12:5"]
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v3
- name: Run the prerequisites script
run: |
./.github/scripts/$(echo "${{ matrix.container }}" | cut -d':' -f1)-prerequisites.sh
# - name: Rust compilation prerequisites
# run: |
# sudo apt update