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

sample PR #122

Conversation

jkbonfield
Copy link
Collaborator

test of PR against a branch in samtools/htscodecs that already has a functioning GitHub Actions config.

@jkbonfield jkbonfield force-pushed the windows-actions-tmp-PR branch 2 times, most recently from 3ed5024 to c79c40f Compare June 25, 2024 08:54
uses: actions/checkout@v4

- name: Mac install dependencies
if: ${{ matrix.os == 'macos-latest' }}
Copy link
Member

Choose a reason for hiding this comment

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

I'd suggest runner.os instead. Its value is fixed, whereas next month you might want the matrix entry to be macos-14 or so.

Suggested change
if: ${{ matrix.os == 'macos-latest' }}
if: runner.os == 'macOS'

(IIRC == is case insensitive anyway, but might as well use the documented capitalisation.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks. At the moment this is very exploratory. Partly an attempt to avoid AppVeyor as it's getting slower and slower to launch Windows MinGW builds, and partly to offload some of the workload with give to cirrus-ci as it has a maximum amount of CPU we can use, has a reduced number of concurrent jobs, and we're low on priority in the free tier. (Or we get our bill payers to consider such tooling as something to pay for instead of just the usual corporate-ware.)

Current wrestle: submodules and gitattributes. Shrug. Should work! Will beat it around the head some more :)

@jkbonfield jkbonfield force-pushed the windows-actions-tmp-PR branch from c79c40f to 35c5eb8 Compare June 25, 2024 11:04
@jkbonfield jkbonfield closed this Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants