From c8d0303d96851faaf2ff31dd89c0a5ccadf15763 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 3 Jun 2024 12:18:47 -0400 Subject: [PATCH] Enable Windows builds Signed-off-by: Juan Cruz Viotti --- .github/workflows/package.yml | 6 ++++++ .github/workflows/test.yml | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 240b048..f542cbc 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 5b8e348..03210aa 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