Skip to content

Commit

Permalink
Update cygwin GitHub action
Browse files Browse the repository at this point in the history
* Brings over boilerplate from other actions
* Remove CDash
  • Loading branch information
derobins committed Mar 9, 2024
1 parent 91b5ca9 commit dd7ad3f
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/cwin.yml → .github/workflows/cygwin.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
name: cwin
name: cygwin

on:
workflow_dispatch:
push:
pull_request:
branches: [ master ]
paths-ignore:
- '.github/CODEOWNERS'
- 'release_notes/**'
- 'COPYING'
- '**.md'

permissions:
contents: read

# Using concurrency to cancel any in-progress job or run
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
cygwin-cmake:
runs-on: windows-latest
steps:
- name: Set git to use LF
Expand All @@ -26,7 +41,6 @@ jobs:
which cmake
cmake -G Ninja \
-D BUILD_SHARED_LIBS:BOOL=OFF \
-D CTEST_DROP_SITE_INIT:STRING="my.cdash.org" \
-D SITE:STRING=cwin ..
ctest -D Experimental
..
ctest . -C Release -V
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'

0 comments on commit dd7ad3f

Please sign in to comment.