~technomancy/fennel

ref: 83ccb3c3345e84c59303fcd97db257d533905399 fennel/.circleci/config.yml -rw-r--r-- 839 bytes
83ccb3c3Phil Hagelberg Fix apropos tests for other Lua versions. 6 months ago
                                                                                
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
33
34
version: 2.1

orbs:
  windows: circleci/windows@2.2.0

jobs:
  build:
    docker:
      - image: debian:testing
    steps:
      - checkout
      - run:
          command: |
            apt-get update -qq && apt-get install -qq cloc make git \
              luajit lua5.1 lua5.2 lua5.3 lua5.4
      - run: make ci
      # Fail the build if the above command changed the checked-in .lua files
      - run: git diff --quiet
  windows:
    executor: windows/default
    steps:
      - checkout
      - run: choco install lua53
      - run: choco install make
      - run: make test LUA=lua53

workflows:
  version: 2
  all:
    jobs:
      - build
# Something wrong with make on Windows currently:
# https://app.circleci.com/pipelines/github/bakpakin/Fennel/320/workflows/75550128-9cdc-4afe-b2c4-9aa66d379eba/jobs/1032/steps
#      - windows