aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/ci.yml
blob: 6e0d76f3ea62970a960bc09e31d10f714a151d93 (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
29
30
31
32
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 sample tests
        run: cd samples/ && ./test_all.sh HigherOrder
      - name: Run HigherOrder tests and measure time
        run: cd std/ && ./test_all.sh HigherOrder
      - name: Run RKNL sample tests
        run: cd samples/ && ./test_all.sh RKNL
      - name: Run RKNL tests and measure time
        run: cd std/ && ./test_all.sh RKNL
      # - name: Run ION sample tests
      #   run: cd samples/ && ./test_all.sh ION
      # - name: Run ION tests and measure time
      #   run: cd std/ && ./test_all.sh ION