-
Notifications
You must be signed in to change notification settings - Fork 6
55 lines (48 loc) · 1.28 KB
/
linux-x86_64.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: linux-x86_64
on:
pull_request:
paths-ignore:
- '**/*.md'
- 'examples/**/*.livemd'
- 'examples/*.livemd'
push:
branches:
- main
- feature-*
- experimental-*
- test-*
- fix-*
paths-ignore:
- '**/*.md'
- 'examples/**/*.livemd'
- 'examples/*.livemd'
- 'nerves/**'
- '.github/FUNDING.yml'
- '.github/workflows/nerves-*'
- '.github/workflows/macos-*'
- '.github/workflows/linux-precompiled.yml'
- '.github/workflows/test-*.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rebar3_compile:
runs-on: ubuntu-20.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TFLITE_BEAM_CORAL_SUPPORT: "true"
TFLITE_BEAM_PREFER_PRECOMPILED: "false"
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "26"
- name: Install system dependecies
run: |
sudo apt-get update
sudo apt-get install -y build-essential automake autoconf pkg-config bc m4 unzip zip curl git libssl-dev libncurses5-dev ca-certificates
- name: Compile and Test
run: |
rebar3 deps
rebar3 compile