Skip to content

Commit

Permalink
Run cabal-build-all.yml on plutus-ci (#6642)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana authored Nov 11, 2024
1 parent 5f2df26 commit 7a9a2da
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/cabal-build-all.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This workflow runs `cabal build all` on both Linux and macOS with all supported GHC versions.
# This workflow runs `cabal build all` on Linux with all supported GHC versions.
# Normally, if Nix can build the shell and the packages via haskell.nix, we can be confident that
# Cabal can build the project inside the Nix shell.
# However, this workflow is implemented to catch edge cases, such as the one described in
Expand All @@ -8,24 +8,23 @@ name: "👷 Cabal Build All"

on:
workflow_dispatch:
# push:
# branches:
# - master
push:
branches:
- master

jobs:
build:
runs-on: ${{ matrix.os }}
runs-on: [plutus-ci, self-hosted]
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
ghc: [ghc810, ghc910, ghc96, ghc98] # Add GHC versions as needed
ghc: [ghc810, ghc910, ghc96, ghc98]
fail-fast: false

steps:
- name: Checkout
uses: actions/checkout@main
- name: Cold Build On ${{ matrix.os }} & ${{ matrix.ghc }}

- name: Cold Build On ${{ matrix.ghc }}
run: |
nix develop --no-warn-dirty --accept-flake-config .#${{ matrix.ghc }} \
--command bash -c 'cabal clean && cabal update && cabal build all'
--command bash -c 'cabal clean && cabal update && cabal build all'

1 comment on commit 7a9a2da

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Plutus Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: 7a9a2da Previous: 5f2df26 Ratio
validation-auction_1-3 749.9 μs 655.1 μs 1.14
validation-auction_1-4 289.3 μs 240.5 μs 1.20
validation-auction_2-1 253.5 μs 185.9 μs 1.36
validation-auction_2-2 903.1 μs 665.7 μs 1.36
validation-auction_2-3 1181 μs 868 μs 1.36
validation-auction_2-4 896.3 μs 659.9 μs 1.36
validation-escrow-redeem_2-3 506.6 μs 425.8 μs 1.19
validation-escrow-refund-1 222 μs 162.3 μs 1.37
validation-future-increase-margin-1 355.4 μs 259.3 μs 1.37
validation-future-increase-margin-2 742.7 μs 559.6 μs 1.33
validation-future-increase-margin-3 762.1 μs 561 μs 1.36
validation-future-increase-margin-4 691.3 μs 504.9 μs 1.37
validation-future-increase-margin-5 1151 μs 845.4 μs 1.36
validation-future-pay-out-1 354.5 μs 259.3 μs 1.37
validation-future-pay-out-2 655.9 μs 559.1 μs 1.17
validation-future-pay-out-3 761.2 μs 559.9 μs 1.36
validation-future-pay-out-4 1145 μs 841.8 μs 1.36
validation-future-settle-early-1 354.1 μs 261.1 μs 1.36
validation-future-settle-early-4 852.8 μs 626.2 μs 1.36
validation-game-sm-success_1-2 284.8 μs 208 μs 1.37
validation-game-sm-success_1-3 903 μs 665.2 μs 1.36
validation-game-sm-success_1-4 332.4 μs 243.1 μs 1.37
validation-game-sm-success_2-1 546.5 μs 403.3 μs 1.36
validation-game-sm-success_2-2 285.3 μs 207.9 μs 1.37
validation-game-sm-success_2-3 900.9 μs 661.1 μs 1.36
validation-game-sm-success_2-4 332.8 μs 242.9 μs 1.37
validation-game-sm-success_2-5 904.5 μs 663.8 μs 1.36
validation-multisig-sm-1 466.1 μs 410.3 μs 1.14
validation-stablecoin_1-4 234.8 μs 208 μs 1.13
validation-stablecoin_1-5 1892 μs 1332 μs 1.42
validation-stablecoin_1-6 365.3 μs 258.4 μs 1.41
validation-stablecoin_2-1 1274 μs 900.3 μs 1.42
validation-stablecoin_2-2 279.1 μs 198.7 μs 1.40
validation-stablecoin_2-3 1466 μs 1039 μs 1.41
validation-stablecoin_2-4 277.9 μs 208.8 μs 1.33
validation-token-account-1 264.4 μs 188.7 μs 1.40
validation-uniswap-2 296.8 μs 277 μs 1.07
validation-uniswap-3 2482 μs 1754 μs 1.42
validation-uniswap-4 479.5 μs 338 μs 1.42
validation-uniswap-5 1633 μs 1156 μs 1.41
validation-uniswap-6 452.1 μs 319.6 μs 1.41
validation-vesting-1 491.4 μs 347.5 μs 1.41
validation-decode-auction_1-1 256.6 μs 192.9 μs 1.33
validation-decode-auction_2-1 237.2 μs 194.3 μs 1.22
validation-decode-auction_2-2 773.4 μs 724.5 μs 1.07
validation-decode-crowdfunding-success-2 281.1 μs 243.2 μs 1.16
validation-decode-crowdfunding-success-3 336 μs 245.6 μs 1.37
validation-decode-currency-1 338.1 μs 248.4 μs 1.36
validation-decode-escrow-redeem_1-1 445 μs 328.1 μs 1.36
validation-decode-future-pay-out-4 802.4 μs 701.6 μs 1.14
validation-decode-future-settle-early-1 336.6 μs 241.2 μs 1.40
validation-decode-future-settle-early-2 450.3 μs 328.7 μs 1.37
validation-decode-future-settle-early-3 449.6 μs 326.6 μs 1.38
validation-decode-future-settle-early-4 956.9 μs 713.6 μs 1.34
validation-decode-game-sm-success_1-1 729.5 μs 534.6 μs 1.36
validation-decode-game-sm-success_1-2 231.8 μs 169.7 μs 1.37
validation-decode-game-sm-success_1-3 750.1 μs 540.9 μs 1.39
validation-decode-game-sm-success_1-4 231.9 μs 170.3 μs 1.36
validation-decode-pubkey-1 232.2 μs 164.9 μs 1.41
validation-decode-stablecoin_1-1 1029 μs 926.2 μs 1.11
validation-decode-uniswap-1 328 μs 242.1 μs 1.35
validation-decode-uniswap-2 316.4 μs 241.5 μs 1.31
validation-decode-vesting-1 453.3 μs 342.6 μs 1.32
nofib-queens4x4/fc 16350.000000000002 μs 14740 μs 1.11
marlowe-semantics/53ed4db7ab33d6f907eec91a861d1188269be5ae1892d07ee71161bfb55a7cb7 558.4 μs 393.4 μs 1.42
marlowe-semantics/55dfe42688ad683b638df1fa7700219f00f53b335a85a2825502ab1e0687197e 455.3 μs 320.2 μs 1.42
marlowe-semantics/56333d4e413dbf1a665463bf68067f63c118f38f7539b7ba7167d577c0c8b8ce 1157 μs 812.5 μs 1.42
marlowe-semantics/5e274e0f593511543d41570a4b03646c1d7539062b5728182e073e5760561a66 1124 μs 1060 μs 1.06
marlowe-semantics/8c7fdc3da6822b5112074380003524f50fb3a1ce6db4e501df1086773c6c0201 1275 μs 1214 μs 1.05
marlowe-role-payout/cc1e82927f6c65b3e912200ae30588793d2066e1d4a6627c21955944ac9bd528 298.7 μs 221.4 μs 1.35
marlowe-role-payout/ec4712ee820eb959a43ebedfab6735f2325fa52994747526ffd2a4f4f84dd58e 299 μs 209.3 μs 1.43
marlowe-role-payout/ee3962fbd7373360f46decef3c9bda536a0b1daf6cda3b8a4bcfd6deeb5b4c53 298 μs 208.9 μs 1.43
marlowe-role-payout/f1a1e6a487f91feca5606f72bbb1e948c71abf043c6a0ea83bfea9ec6a0f08d8 260.5 μs 221.9 μs 1.17

This comment was automatically generated by workflow using github-action-benchmark.

CC: @IntersectMBO/plutus-core

Please sign in to comment.