Merge pull request #304 from e-perl-NOAA/main #1873
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
name: windows-msys2-64bit | |
on: [push] | |
jobs: | |
build: | |
runs-on: [windows-latest] | |
steps: | |
- uses: actions/checkout@main | |
- name: clean | |
run: | | |
set PATH=C:\PortableGit\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH% | |
make clean | |
shell: cmd | |
- name: build | |
run: | | |
set PATH=C:\PortableGit\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH% | |
make -j 4 | |
make -j 4 shared | |
shell: cmd | |
- name: Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: admb_msys2 | |
path: build\\admb | |
- name: gtests | |
run: | | |
set PATH=C:\PortableGit\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH% | |
make --directory=tests\\gtests | |
shell: cmd | |
- name: tests | |
run: | | |
set PATH=C:\PortableGit\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH% | |
make --directory=tests examples | |
make --directory=tests outputs.txt | |
shell: cmd | |
- name: Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: outputs | |
path: outputs.txt |