forked from facebook/duckling
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from RasaHQ/facebook-main
Sync with upstream
- Loading branch information
Showing
264 changed files
with
30,335 additions
and
8,098 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- ignore: { | ||
name: "Do not use -1" | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.