This repository has been archived on 2026-07-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
K1NG-Driver/includes/tomlc17-R260618/.github/workflows/windows-build.yml.disabled
T
2026-07-30 13:18:41 +02:00

59 lines
1.1 KiB
Plaintext

name: Windows Build and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
DEBUG: "1"
jobs:
build-windows:
runs-on: windows-latest
strategy:
matrix:
include:
- { cc: gcc, cxx: g++ }
- { cc: clang, cxx: clang++ }
steps:
- uses: actions/checkout@v4
- name: Install MinGW and tools
run: |
choco install mingw make -y
refreshenv
- name: Install LLVM (for clang build)
if: matrix.cc == 'clang'
run: choco install llvm -y
- name: Setup Go
uses: actions/setup-go@v5
with:
cache: false
- name: Install toml-test
run: go install github.com/toml-lang/toml-test/cmd/toml-test@latest
- name: Build
shell: cmd
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
run: |
make clean all
- name: Run tests
shell: cmd
run: |
make test
- name: Install to temp directory
shell: cmd
run: |
make install prefix=.\tmp