Skip to content

Commit

Permalink
(chocolatey#2244) Initial workflow for Windows and Ubuntu
Browse files Browse the repository at this point in the history
There is a known issue with building on Mac currrently, so let's
concentrate on just these two operating systems for now.
  • Loading branch information
gep13 committed Apr 19, 2021
1 parent 7cb06a4 commit e45c50c
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: Chocolatey Builds

on:
# Trigger on pushes to master and stable, or with pull requests
push:
branches:
- master
- stable
pull_request:
branches:
- master
- stable

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
# Build using mono on Ubuntu
ubuntu-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build with Mono
run: |
chmod +x build.sh
$GITHUB_WORKSPACE//build.sh -v
# Build on Windows
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Build with .Net Framework
run: build.bat -v

0 comments on commit e45c50c

Please sign in to comment.