From e235be1d50e954481ddb0b3d29bd2706c94b4693 Mon Sep 17 00:00:00 2001 From: Sean Hinde Date: Fri, 13 Jan 2023 18:31:01 +0100 Subject: [PATCH] Attempt at nixos circleci --- .circleci/config.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 59fa2fa..6ea62a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,9 @@ executors: macos_1106: macos: xcode: "13.2.1" - + nix_alpine_ci: + docker: + - image: nixorg/nix:circleci commands: setup_ubuntu: description: "Setup Ubuntu environment" @@ -81,7 +83,11 @@ jobs: - setup_macos: OTP_VERSION: "23" - run_build - + nix_alpine: + executor: nix_alpine_ci + steps: + - checkout + - run: nix-shell -j auto --run "./rebar3 do get-deps, compile, eunit -v" workflows: check: jobs: @@ -89,3 +95,4 @@ workflows: - ubuntu_2004_otp22 - ubuntu_2004_otp23 - macos_1106_otp23 + - nix_alpine