Skip to content

Commit

Permalink
CI update: run build/test on Windows too.
Browse files Browse the repository at this point in the history
  • Loading branch information
davexparker committed Jan 2, 2024
1 parent dbc3597 commit b77d673
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion .github/workflows/make-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,45 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- run: cd prism
- name: make tests
working-directory: ./prism
run: |
make
make unittests
make tests
build-win:

strategy:
matrix:
java: [9, 11, 21]
runs-on: windows-latest

steps:
- run: git config --global core.autocrlf input
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Install Cygwin Dependencies
uses: cygwin/cygwin-install-action@v4
with:
packages: |
make,
mingw64-x86_64-gcc-g++,
binutils,
dos2unix,
git,
wget,
unzip,
python
- name: make tests
shell: bash
env:
CYGWIN: winsymlinks:native
working-directory: ./prism
run: >-
make &&
make unittests &&
make tests

0 comments on commit b77d673

Please sign in to comment.