Skip to content

Move crypto3 derivation into a separate file, and clean it up #1

Move crypto3 derivation into a separate file, and clean it up

Move crypto3 derivation into a separate file, and clean it up #1

name: Crypto3 Build and Test on Linux Platforms
jobs:
build-and-test:
name: "Build and test Linux"
runs-on: [self-hosted, Linux, X64, aws_autoscaling]
steps:
# https://github.com/actions/checkout/issues/1552
- name: Clean up after previous checkout
run: chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*;
- name: Checkout Crypto3
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout submodules to specified refs
if: inputs.submodules-refs != ''
uses: NilFoundation/ci-cd/actions/[email protected]
with:
refs: ${{ inputs.submodules-refs }}
paths: |
${{ github.workspace }}/**
!${{ github.workspace }}/
!${{ github.workspace }}/**/.git/**
- name: Run checks
run: nix flake -L check
env:
NIX_CONFIG: |
cores = 6
max-jobs = 4