aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/ci.yml
blob: 21b97b5430df67e7d4ddf6e9ac71c9a515739c2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Test standard library

on:
  push:
    branches:
      - main

permissions:
  contents: read

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: freckle/stack-action@v5
      - name: Install hyperfine
        run: sudo apt-get install hyperfine
      - name: Install bruijn
        run: stack install
      - name: Run HigherOrder tests and measure time
        run: cd std/ && ./test_all.sh HigherOrder
      - name: Run RKNL tests and measure time
        run: cd std/ && ./test_all.sh RKNL
      # - name: Run ION tests and measure time
      #   run: cd std/ && ./test_all.sh ION
      - name: Run HigherOrder sample tests
        run: cd samples/ && ./test_all.sh HigherOrder