Skip to content

workflow

workflow #1

Workflow file for this run

name: Build NIF binaries
on:
push:
branches:
- precompiled
jobs:
build_binary:
name: NIF-${{ matrix.nif_version }} / ${{ matrix.job.target }} / ${{ matrix.job.os }}
runs-on: ${{ matrix.job.os }}
permissions:
contents: write
strategy:
fail-fast: false
matrix:
nif_version: ["2.16"]
job:
- { target: x86_64-apple-darwin , os: macos-12 }
- { target: x86_64-unknown-linux-gnu , os: ubuntu-22.04 }
- { target: x86_64-pc-windows-gnu , os: windows-2022 }
steps:
- uses: actions/checkout@v4
- run: rustup target add ${{ matrix.job.target }}
- uses: philss/rustler-precompiled-action@v1
with:
project-dir: "native/candlex"
project-name: candlex
project-version: "0.1.1"
target: ${{ matrix.job.target }}
nif-version: ${{ matrix.nif_version }}