forked from betrusted-io/xous-core
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 876 Bytes
/
build.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
38
on:
push:
branches:
- main
name: Build xous-core
jobs:
build:
name: Setup Rust
runs-on: ubuntu-latest
strategy:
matrix:
task: ["hosted-ci", "renode-image"]
steps:
- name: Install Ubuntu dependencies
run: |
sudo apt update
sudo apt install -y libxkbcommon-dev
- name: Update to latest toolchain
run: rustup update
- name: Checkout sources
uses: actions/checkout@v4
- name: Fetch tags
run: git fetch --prune --unshallow --tags
- uses: Swatinem/rust-cache@v1
- name: Install RISC-V toolkit
run: cargo xtask install-toolkit --force --no-verify
- name: Clean out old target directory (in case of libstd change)
run: rm -rf target/*
- name: Build CI targets
run: cargo xtask ${{ matrix.task }} --no-verify