-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial attempt at setting up Github Actions workflow
- Loading branch information
Showing
1 changed file
with
31 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,31 @@ | ||
name: Basic compile and test on Ubuntu and MacOS | ||
on: | ||
push: | ||
branches: [ bug_fixes ] | ||
pull_request: | ||
branches: [ $default-branch ] | ||
This comment has been minimized.
Sorry, something went wrong. |
||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
- name: Install zlib development files | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install zlib1g-dev | ||
linux: | ||
needs: setup | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
make allall | ||
make simple-test | ||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
make allall | ||
make simple-test |
1 comment
on commit c215b13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing this out. I’ve addressed this issue in the most recent commit to the workflow file.
This needs to be written out as
master
— apparently$default-branch
is just a placeholder in their templates (that gets filled in during “use this template”) and doesn't work in a workflow.