-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (33 loc) · 1.02 KB
/
ci.yml
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
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Free build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 2048
temp-reserve-mb: 256
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Install QEMU Build Dependencies
run: |
sudo apt-get -y update && \
sudo apt-get -y install bison flex git curl libglib2.0-dev libfdt-dev \
libpixman-1-dev zlib1g-dev ninja-build build-essential python3 python3-pip python3-venv && \
python3 -m pip install sphinx sphinx_rtd_theme
- uses: dtolnay/rust-toolchain@nightly
- uses: actions/checkout@v3
- name: Build
run: cargo run -r --bin tracer -- -a /bin/ls -- -lah