Skip to content

Commit a73bbb0

Browse files
committed
Add CI
1 parent e091dc1 commit a73bbb0

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/rust_ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- "**/README.md"
9+
- ".github/workflows/**"
10+
- "setup/**"
11+
- "workshops/**"
12+
- "*.sh"
13+
pull_request:
14+
workflow_dispatch:
15+
16+
jobs:
17+
build-x86_64:
18+
name: Build (x86_64)
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Install base dependencies
22+
shell: bash
23+
run: |
24+
set -euo pipefail
25+
export DEBIAN_FRONTEND=noninteractive
26+
sudo apt-get update
27+
sudo apt-get install -y --no-install-recommends \
28+
ca-certificates \
29+
pkg-config \
30+
libssl-dev \
31+
build-essential \
32+
git \
33+
curl \
34+
unzip
35+
36+
- name: Check out repository
37+
uses: actions/checkout@v4
38+
39+
- name: Set up Rust toolchain
40+
uses: dtolnay/rust-toolchain@stable
41+
42+
- name: Build binary
43+
run: cargo build --release

0 commit comments

Comments
 (0)