Skip to content

Commit

Permalink
ci/windows: DRY up a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ribose-jeffreylau committed Jan 17, 2022
1 parent 8e56e71 commit 45cb3ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
fail-fast: false
if: "!contains(github.event.head_commit.message, 'skip ci')"

defaults:
run:
shell: msys2 {0}

steps:
- uses: actions/checkout@v2
with:
Expand All @@ -55,19 +59,15 @@ jobs:
with:
path-type: inherit
- name: Set up environment
shell: msys2 {0}
run: |
echo CMOCKA_INSTALL="${HOME}/builds/cmocka-install" >> "${GITHUB_ENV}"
- name: Install more prerequisites
shell: msys2 {0}
run: |
./ci/before_install.sh
./ci/install.sh libnereon
- name: Configure
shell: msys2 {0}
run: |
./autogen.sh
./configure --enable-tests
- name: Build
shell: msys2 {0}
run: ./ci/main.sh

0 comments on commit 45cb3ab

Please sign in to comment.