fix build path #302
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |