Skip to content

Commit

Permalink
CI: build on windows
Browse files Browse the repository at this point in the history
as the majority of toywasm-lib-core is plain C,
it should build for windows.
  • Loading branch information
yamt committed Aug 12, 2024
1 parent 3335423 commit 9d69d93
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@ concurrency:
cancel-in-progress: true

jobs:
build-windows:
runs-on: windows-latest

steps:

- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: cmake configure
run: |
cmake -B build -DBUILD_TESTING=OFF -DTOYWASM_BUILD_CLI=OFF -DTOYWASM_BUILD_UNITTEST=OFF -DTOYWASM_ENABLE_WASI=OFF
- name: cmake -L
run: |
cmake -B build -L
- name: Build
run: cmake --build build

build:
env:
CC: ${{matrix.compiler}}
Expand Down

0 comments on commit 9d69d93

Please sign in to comment.