Skip to content

Commit

Permalink
Initial attempt at setting up Github Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4rr0 committed May 18, 2021
1 parent 44853ac commit c215b13
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/bowtie2.yml
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.

Copy link
@jmarshall

jmarshall May 24, 2021

Contributor

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.

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

@ch4rr0
Copy link
Collaborator Author

@ch4rr0 ch4rr0 commented on c215b13 May 24, 2021

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.

Please sign in to comment.