From c41c9405ba13a0c64dfa54e396a56b3fdbe04ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C3=A8be=20-=20Romain=20Gerard?= Date: Mon, 6 Jan 2020 15:54:29 +0100 Subject: [PATCH] Update haskell.yml Former-commit-id: ebedc27242c914aacfaf9a207bb35812b2b74f04 Former-commit-id: 6bf5778e89ba53a6b4d7f43da7bddf28b880fce1 [formerly 861de8d29d48fcd429afdf0044dac66c9499a9a7] [formerly 55bc06c20cff32c0aab4af2fd942a5edb493ddc7 [formerly d7dc158d688bc902098589ee5b939302d0798bd7 [formerly d7dc158d688bc902098589ee5b939302d0798bd7 [formerly d7dc158d688bc902098589ee5b939302d0798bd7 [formerly a99f3069521de85317479f64ad7adcb65bece686]]]]] Former-commit-id: f5427eba95f4e82777a58586d562a6dc9f6ffd53 [formerly 6555f0c0415525722e3fa5599fd986fdb85e48d5] Former-commit-id: f2a890dde05c3f0800033e7f021f347f43bb4472 Former-commit-id: b48431a398a353c1b1949aaf90b623eb82978e0b Former-commit-id: cbd43b1b97ad986273760ef43dd9dc8c437bfe60 Former-commit-id: aa336c1bd5cab4e72e2c8086b0b4ac9b40219cfa [formerly 81f9219b89bc39e2526b641806ee748f2f79ae48] Former-commit-id: 8ddbd2fa08e02271aa55c7954d84e1358b9a8963 --- .github/workflows/haskell.yml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index e354fa5..c07b014 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -1,12 +1,10 @@ -name: Haskell CI +name: Build bot on: [push, pull_request] jobs: - build: - + build-linux: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v1 - uses: actions/setup-haskell@v1 @@ -22,5 +20,27 @@ jobs: - uses: actions/upload-artifact@v1 with: - name: wstunnel + 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