-
Notifications
You must be signed in to change notification settings - Fork 245
37 lines (34 loc) · 954 Bytes
/
.riscv64.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: riscv64
on:
schedule:
- cron: '0 0 * * 0'
push:
branches:
- master
pull_request:
branches:
- master
jobs:
archs:
# The host should always be linux
runs-on: ubuntu-22.04
name: Build on riscv64
steps:
- uses: actions/[email protected]
- uses: uraimo/[email protected]
name: Build artifact
id: build
with:
arch: riscv64
distro: ubuntu20.04
# Not required, but speeds up builds
githubToken: ${{ github.token }}
# The shell to run commands with in the container
shell: /bin/sh
# Produce a binary artifact and place it in the mounted volume
run: |
apt-get update -q -y
apt-get install -q -y build-essential git gcc cmake
uname -a;id;uname -m;lscpu | grep Endian
mkdir build && cd build
cmake .. && make -j && make check