-
-
Notifications
You must be signed in to change notification settings - Fork 903
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2243 from sparklemotion/flavorjones-v1_11_x-updat…
…e-tests-to-work-with-system-libxml-2_9_12 (v1.11.x) update tests to work with system libxml 2.9.12, and work around windows dll unloading issue
- Loading branch information
Showing
5 changed files
with
88 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# this is a work in progress! | ||
name: windows | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, synchronize] | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
windows: | ||
name: "windows, sys: ${{ matrix.sys }}, ${{ matrix.ruby }}" | ||
|
||
env: | ||
MAKEFLAGS: -j2 | ||
|
||
runs-on: windows-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sys: [ enable, disable ] | ||
ruby: [ "2.5", "2.6", "2.7", "3.0", "mingw" ] | ||
|
||
steps: | ||
- name: configure git crlf on windows | ||
run: | | ||
git config --system core.autocrlf false | ||
git config --system core.eol lf | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: load Ruby and bundle install | ||
uses: MSP-Greg/setup-ruby-pkgs@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
mingw: libxml2 libxslt | ||
bundler-cache: true | ||
- uses: actions/cache@v2 | ||
if: matrix.sys == 'disable' | ||
with: | ||
path: ports/archives | ||
key: ${{ matrix.os }}-${{ matrix.ruby }}-tarballs-${{ hashFiles('**/dependencies.yml') }} | ||
restore-keys: ${{ matrix.os }}-${{ matrix.ruby }}-tarballs- | ||
- name: bundle exec rake compile | ||
run: | | ||
bundle exec rake compile -- --${{ matrix.sys }}-system-libraries | ||
- name: bundle exec rake test | ||
run: bundle exec rake test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters