mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-04-22 02:07:57 +00:00
prereq
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
./ubuntu-prerequisites.sh
|
||||
Executable
+8
@@ -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"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user