Comments (2)
nix-eval-jobs seems to be able to do the evaluation in parallel. It would spit out a json file we can read back into GHA. Something like this:
eval-jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- run: |
nix-eval-jobs --flake path:$PWD#packages.x86_64-linux.allPackages --override-input CHaP path:_repo > jobs.json
- id: set-matrix
run: |
echo "::set-output name=matrix::$(jq @text < dist-newstyle/cache/plan.json)" # maybe with some json wrangling
build-packages:
needs: eval-jobs
strategy:
matrix: ${{fromJson(needs.eval-jobs.outputs.matrix)}}
from cardano-haskell-packages.
Hmm, interesting. Hopefully it'll use remote builders for the IFD still, but that could be a big improvement.
I'm unsure if we want to generate a matrix: probably we do if it's for the smoke test or new packages, but we wouldn't if we decided to try and build everything since matrixes are limited to 256 jobs (hah). And also the real parallelism will be happening on nixbuild.net
, we'll just be occupying |matrix|
runners sitting there waiting for builds to finish!
Also it doesn't yet support --override-input
. Maybe we can just do --update-input
beforehand instead.
from cardano-haskell-packages.
Related Issues (20)
- Patched: ekg-0.4.0.15.0.0.0.0.1 HOT 4
- Patched: libsystemd-journal-1.4.5.0.0.0.0.1 HOT 2
- Add check that latest index state is not in the future
- Steal ideas from the PureScript Registry
- Patched foundation 0.0.29.0.0.0.0.1
- CHaP : Improve error reporing of add-revision script
- Tips on debugging/ inspection when I can't find the right version. HOT 4
- Use crypton from hackage in CI
- protolude-0.3.3.0.0.0.0.1's `repo` field contains a trailing slash HOT 2
- Building haddocks fails in CI for some ledger packages in 8.10 HOT 2
- Reorder checks so that we build packages before doing the index checks
- Patched hjsonpointer-1.5.0.0.0.0.0.1
- Patched hjsonschema-1.10.0.0.0.0.0.1
- Patched dependent-sum-template-0.1.1.1.0.0.0.1
- Test
- 404 for Win32-network-0.1.1.1.tar.gz when building cardano-node HOT 1
- `bech32` 1.1.4.1 has incorrect version bounds HOT 1
- Cabal fetches an old plutus-core version to compile HOT 2
- Can't test a locally built CHaP with a small test project consisting of just a cabal.project file HOT 1
- Static executables for other OS & architectures HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cardano-haskell-packages.