Move crypto3 derivation into a separate file, and clean it up #1
Workflow file for this run
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: 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 |