Skip to content

Commit

Permalink
use GitHub Actions instead of Travis-CI and AppVeyor for uploading ar…
Browse files Browse the repository at this point in the history
…tifacts to GitHub Releases
  • Loading branch information
msakai committed Feb 11, 2021
1 parent 6b2bd17 commit 627d83e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,39 @@ jobs:
- ghc: '8.10.2'
os: ubuntu-latest
stack_yaml: 'stack-ghc-8.10.yaml'
stack_args: '--coverage --haddock --no-haddock-deps'
stack_args: '--haddock --no-haddock-deps'
flags: '--flag toysolver:BuildToyFMF --flag toysolver:BuildSamplePrograms --flag toysolver:BuildMiscPrograms --flag toysolver:OpenCL'
coveralls: true
coveralls: false
release: true

- ghc: '8.10.2'
os: macos-latest
stack_yaml: 'stack-ghc-8.10.yaml'
stack_args: ''
flags: '--flag toysolver:BuildToyFMF --flag toysolver:BuildSamplePrograms --flag toysolver:BuildMiscPrograms'
coveralls: false
release: true
- ghc: '8.10.2'
os: windows-latest
stack_yaml: 'stack-ghc-8.10.yaml'
stack_args: ''
flags: '--flag toysolver:BuildToyFMF --flag toysolver:BuildSamplePrograms --flag toysolver:BuildMiscPrograms'
coveralls: false
release: true
- ghc: '8.6.3'
os: windows-latest
stack_yaml: 'stack-windows-i386.yaml'
stack_args: ''
flags: '--flag toysolver:BuildToyFMF --flag toysolver:BuildSamplePrograms --flag toysolver:BuildMiscPrograms'
coveralls: false
release: true

- ghc: '8.8.4'
os: ubuntu-latest
stack_yaml: 'stack-ghc-8.8.yaml'
stack_args: ''
stack_args: '--coverage'
flags: '--flag toysolver:BuildToyFMF --flag toysolver:BuildSamplePrograms --flag toysolver:BuildMiscPrograms --flag toysolver:OpenCL'
coveralls: false
coveralls: true
- ghc: '8.6.5'
os: ubuntu-latest
stack_yaml: 'stack-ghc-8.6.yaml'
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ addons:

matrix:
include:
- env: STACK_YAML=stack-ghc-8.10.yaml RELEASE=1 HADDOCK=1 SHC_GHCVER=8.0.1
- env: STACK_YAML=stack-ghc-8.10.yaml HADDOCK=1 SHC_GHCVER=8.0.1
compiler: ": #GHC 8.10.2"
- env: STACK_YAML=stack-ghc-8.10.yaml RELEASE=1
- env: STACK_YAML=stack-ghc-8.10.yaml
compiler: ": #GHC 8.10.2"
os: osx
#- env: STACK_YAML=stack-ghc-8.8.yaml
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ for:
- platform: x86
environment:
STACK_YAML: "stack-windows-i386.yaml"
RELEASE: "1"
RELEASE: "0"
- matrix:
only:
- platform: x64
environment:
STACK_YAML: "stack.yaml"
RELEASE: "1"
RELEASE: "0"

install:
- if %PLATFORM%==x86 (curl -ostack.zip -L --insecure https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-windows-i386.zip) else (curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-x86_64)
Expand Down

0 comments on commit 627d83e

Please sign in to comment.