mirror of
https://github.com/tezc/sc.git
synced 2025-01-28 07:03:06 +08:00
parent
41119003d4
commit
a909fb0c14
37
.github/workflows/.riscv64.yml
vendored
Normal file
37
.github/workflows/.riscv64.yml
vendored
Normal file
@ -0,0 +1,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/checkout@v2.1.0
|
||||
- uses: uraimo/run-on-arch-action@v2.5.1
|
||||
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
|
@ -23,7 +23,7 @@ There is 100% branch-coverage on Linux and CI runs on
|
||||
<pre>
|
||||
OS : Linux, MacOS, FreeBSD and Windows
|
||||
Compilers : GCC, Clang, MSVC
|
||||
Arch : x64, aarch64, armv6(32 bit), armv7(32 bit), ppc64le, s390x(big endian)
|
||||
Arch : x64, aarch64, armv6(32 bit), armv7(32 bit), ppc64le, s390x(big endian), riscv64
|
||||
Sanitizers : valgrind and clang/gcc sanitizers(address, undefined, thread)
|
||||
</pre>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user