I am trying to add windows-latest as a target to this workflow:
name: Arena Tests
on: [workflow_dispatch, push, pull_request]
jobs:
test_cross_platform:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: make
- name: Run tests
run: make test
Currently, adding windows-latest
in the list fails because make
is unrecognized.
According to: runner-images, the package manager for windows-latest is Chocolatey Software, which has packages for MinGW-w64 13.2.0 and GNU make 4.4.1 that can be installed with:
choco install mingw
choco install make
My question is: After adding these to the YML file, would I need to play around with the PATH
environment variable or do something else before I can simply run:
make
make test
on the Windows machine?