From 281f630c05e02d77ad1f443aa322ea24ef6c93b5 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Mon, 1 Jul 2024 23:59:54 +0900 Subject: [PATCH] Add Windows build job --- .github/workflows/main.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d657fc6..a617a7bb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -55,9 +55,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 - with: - submodules: recursive + - uses: actions/checkout@v4 - id: setup-swiftwasm uses: swiftwasm/setup-swiftwasm@v1 with: @@ -75,14 +73,22 @@ jobs: - run: ./CI/check-spectest.sh - run: ./CI/check-wasi-testsuite.sh + build-windows: + runs-on: windows-latest + steps: + - uses: compnerd/gha-setup-swift@main + with: + branch: swift-5.10.1-release + tag: 5.10.1-RELEASE + - uses: actions/checkout@v4 + - run: swift test + build-cmake: runs-on: ubuntu-20.04 container: image: swift:5.8-focal steps: - uses: actions/checkout@v4 - with: - submodules: recursive - name: Install Ninja run: apt-get update && apt-get install -y ninja-build - name: Install CMake