Skip to content

Commit

Permalink
Merge pull request #12 from RasaHQ/facebook-main
Browse files Browse the repository at this point in the history
Sync with upstream
  • Loading branch information
wochinge authored Sep 30, 2021
2 parents f7bcca0 + 6160ed3 commit 970e0f7
Show file tree
Hide file tree
Showing 264 changed files with 30,335 additions and 8,098 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

# Trigger the workflow on push or pull request, but only for the master branch
on:
pull_request:
push:
branches: [master]

jobs:
stack:
name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
stack: ["2.5.1"]
ghc: ["8.6.5", "8.8.4", "8.10.3", "9.0.1"]

steps:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'

- uses: haskell/actions/setup@v1
name: Setup Haskell Stack
with:
ghc-version: ${{ matrix.ghc }}
stack-version: ${{ matrix.stack }}

- uses: actions/[email protected]
name: Cache ~/.stack
with:
path: ~/.stack
key: ${{ runner.os }}-${{ matrix.ghc }}-stack

- name: Build
run: |
stack build duckling:lib --system-ghc --test --bench --no-run-tests --no-run-benchmarks
- name: Test
run: |
stack test --system-ghc
50 changes: 48 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,49 @@
# object files
*.a
*.o
*.so

# haskell stuff
.ghc.environment.*
dist
dist-*
cabal-dev
*.chi
*.chs.h
*.dyn_o
*.dyn_hi
*.prof
*.hp
*.eventlog
.cabal-sandbox/
cabal.sandbox.config
cabal.config
cabal.project.local
.HTF/
.stack-work/
log/
.idea/
stack.yaml.lock

# vim stuff
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-v][a-z]
[._]sw[a-p]
*~

# nix stuff
result
result-*
*.hi

# make/latexmk stuff
.makefile
*.aux
*.fdb_latexmk
*.fls
*.log
*.out

# misc
tags
log
.idea
3 changes: 3 additions & 0 deletions .hlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- ignore: {
name: "Do not use -1"
}
92 changes: 0 additions & 92 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 970e0f7

Please sign in to comment.