forked from parallaxsecond/rust-psa-crypto
-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (28 loc) · 839 Bytes
/
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
name: Continuous Integration
on: [push, pull_request]
jobs:
build:
name: All tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
toolchain: 1.52.0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install cross-compilation toolchains
run: |
sudo apt update
sudo apt install -y gcc-multilib
# For target: armv7-unknown-linux-gnueabihf
sudo apt install -y gcc-arm-linux-gnueabihf
# For target: aarch64-unknown-linux-gnu
sudo apt install -y gcc-aarch64-linux-gnu
- name: Execute all tests
run: ./ci.sh