Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,25 @@ name: "Nix"
on:
pull_request:
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cachix/install-nix-action@v6
- uses: cachix/cachix-action@v3
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v13
with:
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.5pre20211015_130284b/install
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v10
with:
name: xe
- run: |
rm result
nix-build docker.nix
docker load -i result
nix build .#docker --impure
# the shell expansion will identify the build, and, because we know
# we're guaranteed to only have one file in result/docker due to the
# pure flake, will always properly expand to just the one target image.
docker load -i result/docker/*
docker run --rm xena/pahi:latest /bin/testrunner
docker run --rm -w /wasm xena/pahi:latest /tests/bench.sh
63 changes: 0 additions & 63 deletions default.nix

This file was deleted.

31 changes: 0 additions & 31 deletions docker.nix

This file was deleted.

2 changes: 1 addition & 1 deletion docs/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ sources ? import ../nix/sources.nix, pkgs ? import sources.nixpkgs { }}:
{ pkgs }:
let
src = builtins.filterSource
(path: type: type != "directory" || builtins.baseNameOf path != "olin-spec")
Expand Down
115 changes: 115 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading