Add manual windows CI (#1209)
This commit is contained in:
parent
c852a65ecc
commit
5984849594
7
.github/workflows/choco_packages.config
vendored
Normal file
7
.github/workflows/choco_packages.config
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="gcc-arm-embedded" version="10.2.1" />
|
||||
<package id="cmake" version="3.25.2" installArguments="ADD_CMAKE_TO_PATH=System" />
|
||||
<package id="mingw" version="12.2.0" />
|
||||
<package id="ninja" version="1.11.1" />
|
||||
</packages>
|
21
.github/workflows/windows.yml
vendored
Normal file
21
.github/workflows/windows.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Build on Windows
|
||||
on: workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-2022
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
- name: Checkout submodules
|
||||
run: git submodule update --init
|
||||
- name: Install dependencies
|
||||
run: choco install .github/workflows/choco_packages.config
|
||||
|
||||
- name: Build Project
|
||||
# bash required otherwise this mysteriously (no error) fails at "Generating cyw43_bus_pio_spi.pio.h"
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -G Ninja -DPICO_SDK_TESTS_ENABLED=1 -DCMAKE_BUILD_TYPE=Debug -DPICO_BOARD=pico_w
|
||||
cmake --build .
|
Loading…
Reference in New Issue
Block a user