From 9894be1ef0b14f7df4ef595da87e7a03835caec6 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 3 Jun 2024 13:19:00 -0400 Subject: [PATCH] Enable Windows builds (#34) Signed-off-by: Juan Cruz Viotti --- .gitattributes | 1 + .github/workflows/package.yml | 6 ++++++ .github/workflows/test.yml | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/.gitattributes b/.gitattributes index f461d469..b0fb69e0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ +* -text /vendor/** linguist-generated=true diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 240b048c..f542cbc2 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -26,6 +26,8 @@ jobs: cc: clang cxx: clang++ shell: sh + - os: windows-latest + shell: pwsh defaults: run: @@ -43,6 +45,10 @@ jobs: env: HOMEBREW_NO_ANALYTICS: 1 HOMEBREW_NO_AUTO_UPDATE: 1 + - name: Install dependencies (Windows) + if: runner.os == 'windows' + run: choco install shellcheck + - run: cmake --version - name: Configure JSON Schema run: > diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5b8e3481..03210aad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,8 @@ jobs: cc: clang cxx: clang++ shell: sh + - os: windows-latest + shell: pwsh defaults: run: @@ -41,6 +43,9 @@ jobs: env: HOMEBREW_NO_ANALYTICS: 1 HOMEBREW_NO_AUTO_UPDATE: 1 + - name: Install dependencies (Windows) + if: runner.os == 'windows' + run: choco install shellcheck - run: cmake --version - name: Configure JSON Schema