Current version of Psi+ is 1.5.2058 #368
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/checkout@v2.4.0 | |
- 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 ]] |