Skip to content

Commit f057cd9

Browse files
committed
CI: Switch to GitHub Actions
1 parent 26440e4 commit f057cd9

File tree

2 files changed

+26
-31
lines changed

2 files changed

+26
-31
lines changed

.github/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Github Actions
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
host-x86:
7+
runs-on: ubuntu-22.04
8+
strategy:
9+
matrix:
10+
compiler: [gcc-12]
11+
steps:
12+
- name: checkout code
13+
uses: actions/checkout@v3
14+
- name: build artifact
15+
env:
16+
CC: ${{ matrix.compiler }}
17+
run: |
18+
sudo apt-get update -q -y
19+
sudo apt-get install -q -y qemu-user
20+
sudo apt-get install -y build-essential
21+
sudo apt-get install -y clang-format
22+
sh .ci/check-format.sh
23+
make clean config ARCH=arm
24+
make check || exit 1
25+
make clean config ARCH=riscv
26+
make check || exit 1

.travis.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)