Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from Travis to GitHub Actions #340

Merged
merged 1 commit into from
Mar 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: PMIx Standard CI

on:
pull_request:
# We don't need this to be run on all types of PR behavior
# See
# - https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request
# - https://frontside.com/blog/2020-05-26-github-actions-pull_request
types:
- opened
- synchronize
- edited
- reopened

jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out the code
uses: actions/checkout@v1
# Run the container tester
- name: Build and Test
run: docker run --rm -v ${GITHUB_WORKSPACE}:/home/pmixer/pmix-standard jjhursey/pmix-standard /bin/bash -c "cp -R /home/pmixer/pmix-standard pmix-build && cd pmix-build && make"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went ahead and created the pmix organization on docker hub (and added you @jjhursey as an owner) if we eventually want to switch to that top-level namespace:

Suggested change
run: docker run --rm -v ${GITHUB_WORKSPACE}:/home/pmixer/pmix-standard jjhursey/pmix-standard /bin/bash -c "cp -R /home/pmixer/pmix-standard pmix-build && cd pmix-build && make"
run: docker run --rm -v ${GITHUB_WORKSPACE}:/home/pmixer/pmix-standard pmix/pmix-standard /bin/bash -c "cp -R /home/pmixer/pmix-standard pmix-build && cd pmix-build && make"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for setting that up. I was thinking of moving those github repos into the pmix or openpmix GitHub namespace anyway, so it would make sense to rename the container namespace at the same time. I'll put that on my near-ish term todo list. We can make this change once that is moved over.

shell: bash
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.