Skip to content

Commit

Permalink
Add CI for building and releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
InoUno committed Dec 28, 2021
1 parent cd93462 commit 0941789
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build

on:
push:
branches:
- main
tags:
- '*'
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
windows:
runs-on: windows-2019

steps:
- name: Checkout
uses: actions/checkout@v2

- name: 'CMake: Configure'
run: cmake -B build -A Win32

- name: 'CMake: Build'
run: cmake --build build --config Release

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/xiloader/Release/xiloader.exe

0 comments on commit 0941789

Please sign in to comment.