Skip to content

Add Bazel support

Add Bazel support #226

Workflow file for this run

name: Build fh artifacts
on:
workflow_call:
pull_request:
push:
branches: [main]
jobs:
build-artifacts-X64-macOS:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build package
run: |
nix build .# -L
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: fh-X64-macOS
path: result/bin/fh
retention-days: 1
build-artifacts-X64-Linux:
runs-on: UbuntuLatest32Cores128G
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build package
run: |
nix build .# -L
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: fh-X64-Linux
path: result/bin/fh
retention-days: 1