|
|
@ -4,7 +4,10 @@ on:
|
|
|
|
push:
|
|
|
|
push:
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
|
|
|
|
os: [ubuntu-latest, macos-latest]
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: nixbuild/nix-quick-install-action@v19
|
|
|
|
- uses: nixbuild/nix-quick-install-action@v19
|
|
|
@ -13,6 +16,8 @@ jobs:
|
|
|
|
- uses: cachix/cachix-action@v11
|
|
|
|
- uses: cachix/cachix-action@v11
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: xplr
|
|
|
|
name: xplr
|
|
|
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
|
|
authtoken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
|
|
- run: nix-build
|
|
|
|
- run: nix profile install .
|
|
|
|
- run: nix-shell --run "xplr --version"
|
|
|
|
- name: Run tests
|
|
|
|
|
|
|
|
run: |
|
|
|
|
|
|
|
|
xplr --version
|
|
|
|