Skip to content

fix: runs on macos-14-arm64 #325

fix: runs on macos-14-arm64

fix: runs on macos-14-arm64 #325

Workflow file for this run

name: macos-x86_64
on:
pull_request:
paths-ignore:
- '**/*.md'
- 'examples/**/*.livemd'
- 'examples/*.livemd'
push:
branches:
- main
- test-*
- macos-ci-*
paths-ignore:
- '**/*.md'
- 'examples/**/*.livemd'
- 'examples/*.livemd'
- 'nerves/**'
- '.github/FUNDING.yml'
- '.github/workflows/nerves-*'
- '.github/workflows/linux-*.yml'
- '.github/workflows/macos-precompiled.yml'
- '.github/workflows/test-*.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rebar3_compile:
runs-on: macos-13
env:
TFLITE_BEAM_CORAL_SUPPORT: "true"
TFLITE_BEAM_PREFER_PRECOMPILED: "false"
OTP_VERSION: "26.2.1"
ELIXIR_VERSION: "1.16.3"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install OTP and rebar3
run: |
curl -fsSO https://elixir-lang.org/install.sh
sh install.sh "elixir@${ELIXIR_VERSION}" "otp@${OTP_VERSION}"
export PATH=$HOME/.elixir-install/installs/otp/${OTP_VERSION}/bin:$PATH
wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
./rebar3 local install
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.22.x'
- name: Compile
run: |
export OTP_MAIN_VER="${OTP_VERSION%%.*}"
export PATH=$HOME/.elixir-install/installs/otp/${OTP_VERSION}/bin:$PATH
export PATH=$HOME/.elixir-install/installs/elixir/${ELIXIR_VERSION}-otp-${OTP_MAIN_VER}/bin:$PATH
export PATH="${HOME}/.cache/rebar3/bin:$PATH"
rebar3 deps
rebar3 compile