Attempt at nixos circleci

This commit is contained in:
Sean Hinde 2023-01-13 18:31:01 +01:00
parent 71b9f14bc5
commit e235be1d50

View File

@ -7,7 +7,9 @@ executors:
macos_1106: macos_1106:
macos: macos:
xcode: "13.2.1" xcode: "13.2.1"
nix_alpine_ci:
docker:
- image: nixorg/nix:circleci
commands: commands:
setup_ubuntu: setup_ubuntu:
description: "Setup Ubuntu environment" description: "Setup Ubuntu environment"
@ -81,7 +83,11 @@ jobs:
- setup_macos: - setup_macos:
OTP_VERSION: "23" OTP_VERSION: "23"
- run_build - run_build
nix_alpine:
executor: nix_alpine_ci
steps:
- checkout
- run: nix-shell -j auto --run "./rebar3 do get-deps, compile, eunit -v"
workflows: workflows:
check: check:
jobs: jobs:
@ -89,3 +95,4 @@ workflows:
- ubuntu_2004_otp22 - ubuntu_2004_otp22
- ubuntu_2004_otp23 - ubuntu_2004_otp23
- macos_1106_otp23 - macos_1106_otp23
- nix_alpine