Skip to content

Commit

Permalink
Add simple compile test using Github Actions
Browse files Browse the repository at this point in the history
Builds natively and cross compiles for Arm.

Signed-off-by: Joel Stanley <[email protected]>
  • Loading branch information
shenki committed May 2, 2022
1 parent dae24d0 commit a4d1921
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI
on: [push, pull_request]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get install -qq
gcc
gcc-arm-linux-gnueabi libc-dev-armel-cross
git meson device-tree-compiler qemu-user
- uses: actions/checkout@v2
- name: arm32
run: meson setup build-arm --cross-file meson/arm-linux-gnueabi-gcc.ini && meson compile -C build-arm
- name: native
run: meson setup build-native && meson compile -C build-native

0 comments on commit a4d1921

Please sign in to comment.