Merge pull request #240 from JuliaMath/vs/msys
Update ci.yml for Windows and msys2
This commit is contained in:
commit
6ea5fa2408
34
.github/workflows/ci.yml
vendored
34
.github/workflows/ci.yml
vendored
@ -8,7 +8,6 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -19,13 +18,34 @@ jobs:
|
|||||||
- windows-latest
|
- windows-latest
|
||||||
arch:
|
arch:
|
||||||
- x64
|
- x64
|
||||||
- x32
|
- x86
|
||||||
- armv7
|
- armv7
|
||||||
- aarch64
|
- aarch64
|
||||||
|
exclude:
|
||||||
|
- os: windows-latest
|
||||||
|
arch: aarch64
|
||||||
|
- os: windows-latest
|
||||||
|
arch: armv7
|
||||||
|
- os: windows-latest
|
||||||
|
arch: x86
|
||||||
|
- os: macos-latest
|
||||||
|
arch: armv7
|
||||||
|
- os: macos-latest
|
||||||
|
arch: x86
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: make
|
- name: Install i686-w64-mingw32-gcc
|
||||||
run: make
|
if: ${{ matrix.os == 'windows-latest' && matrix.arch == 'x86' }}
|
||||||
- name: make test
|
shell: bash
|
||||||
run: make test
|
run: |
|
||||||
|
choco install mingw -y --x86 --force --params "/exception:sjlj"
|
||||||
|
choco install make -y
|
||||||
|
echo "CC=i686-w64-mingw32-gcc" >> "${GITHUB_ENV}"
|
||||||
|
- name: Set compiler for 64-bit Windows
|
||||||
|
if: ${{ matrix.os == 'windows-latest' && matrix.arch == 'x64' }}
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "CC=x86_64-w64-mingw32-gcc" >> "${GITHUB_ENV}"
|
||||||
|
- name: Build and run tests
|
||||||
|
run: make && make test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user