Skip to content

Current version of Psi+ is 1.5.1941 #277

Current version of Psi+ is 1.5.1941

Current version of Psi+ is 1.5.1941 #277

Workflow file for this run

name: Nix CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
nix-build:
strategy:
matrix:
os: [ubuntu-latest]
chatType: [basic, webkit, webengine]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- name: Install Nix
uses: cachix/install-nix-action@v15
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
system-features = nixos-test benchmark big-parallel kvm
- name: Nix build for “${{ matrix.chatType }}” chat type on ${{ matrix.os }}
run: |
ver=$(git tag --contains "$(git rev-parse @)" | head -1)
if [[ -z $ver ]]; then ver=git-$(git rev-parse --short @); fi
nix-build .github/psi-plus-config.nix \
--argstr version "$ver" \
--argstr chatType ${{ matrix.chatType }} \
-o result-ci-test-"$ver"-${{ matrix.chatType }}-built-on-${{ matrix.os }}
# Final check
set -o xtrace
[[ -x result-ci-test-"$ver"-${{ matrix.chatType }}-built-on-${{ matrix.os }}/bin/psi-plus ]]