Remove chocolatey from Windows CI (#307)
* GCC should be pre-installed on Windows runners
* Update Windows visual studio version
17 is not available on GitHub runners any more
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c804cfa..e58f2d7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -11,7 +11,7 @@
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
- generator: ["Ninja", "Unix Makefiles", "Visual Studio 17 2022"]
+ generator: ["Ninja", "Unix Makefiles", "Visual Studio 18 2026"]
mbedtls: ["mbedtls", ""]
libusb: ["libusb", ""]
compile: ["compile", ""]
@@ -19,24 +19,20 @@
- os: 'windows-latest'
generator: "Unix Makefiles"
- os: 'ubuntu-latest'
- generator: "Visual Studio 17 2022"
+ generator: "Visual Studio 18 2026"
- os: 'macos-latest'
- generator: "Visual Studio 17 2022"
+ generator: "Visual Studio 18 2026"
- libusb: ""
compile: "compile"
- os: 'windows-latest'
# only precompiled ELFs supported for Windows MSVC
compile: "compile"
- generator: "Visual Studio 17 2022"
+ generator: "Visual Studio 18 2026"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- - name: Install mingw (Windows mingw)
- if: runner.os == 'Windows' && matrix.generator == 'Ninja'
- run: |
- choco install -y mingw --version=12.2.0
- name: Install arm-none-eabi-gcc (Windows & MacOS)
if: runner.os == 'Windows' || runner.os == 'macOS'
uses: carlosperate/arm-none-eabi-gcc-action@v1