-
Notifications
You must be signed in to change notification settings - Fork 75
43 lines (38 loc) · 941 Bytes
/
rust_ci.yml
File metadata and controls
43 lines (38 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Continuous Integration
on:
push:
branches:
- main
paths-ignore:
- "**/README.md"
- ".github/workflows/**"
- "setup/**"
- "workshops/**"
- "*.sh"
pull_request:
workflow_dispatch:
jobs:
build-x86_64:
name: Build (x86_64)
runs-on: ubuntu-latest
steps:
- name: Install base dependencies
shell: bash
run: |
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
ca-certificates \
pkg-config \
libssl-dev \
build-essential \
git \
curl \
unzip
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build binary
run: cargo build --release