wstunnel/.github/workflows/build.yml
Erèbe - Romain Gerard bd3158c720 Update build.yml
Former-commit-id: 5540abdca540898416132e7b6a188695a30e5e6c
Former-commit-id: c0fd584548eca8d0789aa261a06cdcd308bbe0d5 [formerly 02f592c6c15c0ac66ffcbb1f1d2ec1e4d313d2db] [formerly 9b6b4ae20f387072bbd4419a757c5cec5f8485a3 [formerly fcbbe02f71374ff13ef34db43552d4b39ec87a0b [formerly fcbbe02f71374ff13ef34db43552d4b39ec87a0b [formerly fcbbe02f71374ff13ef34db43552d4b39ec87a0b [formerly 57d4249ef14c4c210eae7d2d8a7915f45ec253f7]]]]]
Former-commit-id: ff9cc77f679ac2892af2cc640cf341c8d607f8d1 [formerly 8b394e257382a4327367d1df5669c3e13133e0aa]
Former-commit-id: 015a4c28b7a685109a811d38931950ab4229302a
Former-commit-id: db8a393a937e7c722d1d7e74260bc92f5053450e
Former-commit-id: 043f3d59934a86a6ba572f557b0e0d62a6469013
Former-commit-id: 899a3252cfb3f64f4e7aa0b661b6c4f613599f2a [formerly 3cab20bc482aa897e711f0abaf1da3b3939fe580]
Former-commit-id: bdc6f0c23c2e361cfeb10588ca9edbbf4b71451b
2020-01-07 19:28:20 +01:00

69 lines
1.4 KiB
YAML

name: Build bot
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.6.5'
cabal-version: '3.0'
- name: Build
run: |
docker build -t wstunnel .
docker run --rm -v $(pwd):/data wstunnel /bin/cp wstunnel /data
./wstunnel
- uses: actions/upload-artifact@v1
with:
name: wstunnel-linux-x64
path: wstunnel
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Install stack
run: |
curl -sSL https://get.haskellstack.org/ | sh
- name: Setup GHC
run: |
stack setup
- name: Build
run: |
stack install
- uses: actions/upload-artifact@v1
with:
name: wstunnel-windows-x64.exe
path: C:\Users\runneradmin\AppData\Roaming\local\bin\wstunnel.exe
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Install stack
run: |
curl -sSL https://get.haskellstack.org/ | sh
- name: Setup GHC
run: |
stack setup
- name: Build
run: |
stack install
- uses: actions/upload-artifact@v1
with:
name: wstunnel-macos
path: /Users/runner/.local/bin/wstunnel