Skip to content

Commit

Permalink
Create a Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano committed Aug 9, 2024
1 parent 2b60999 commit 56016c6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/windows-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Windows CI

on:
push:

jobs:
build:
runs-on: windows-latest
strategy:
matrix:
ghc: ["8.8.4", "8.10.7", "9.4.8"]

steps:
- name: Set up GHC
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}

- name: Check out code
uses: actions/checkout@v2

- name: Build project
run: cabal build

- name: Create a zip with exe file and assets
run: |
mkdir -p exe
cp $(cabal list-bin Game) exe/
cp -r assets exe/
7z a exe.zip exe
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: windows-artifacts
path: exe.zip

0 comments on commit 56016c6

Please sign in to comment.