forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolatey#2244) Initial workflow for Windows and Ubuntu
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
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |