feat(CI): Windows MSVC and GCC build (#6015)
This commit is contained in:
31
.github/workflows/ccpp.yml
vendored
31
.github/workflows/ccpp.yml
vendored
@@ -27,6 +27,37 @@ jobs:
|
||||
- name: Building ${{ matrix.build_option }}
|
||||
run: python tests/main.py --build-option=${{ matrix.build_option }} build
|
||||
|
||||
build-windows-GCC:
|
||||
runs-on: windows-2022
|
||||
name: Build Windows GCC
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: Install prerequisites
|
||||
run: scripts\install-prerequisites.bat
|
||||
- name: Build
|
||||
run: python tests/main.py build
|
||||
env:
|
||||
CC: gcc
|
||||
|
||||
build-windows-MSVC:
|
||||
runs-on: windows-2022
|
||||
name: Build Windows MSVC
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install prerequisites
|
||||
run: scripts\install-prerequisites.bat
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
with:
|
||||
arch: x64
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 'mswin'
|
||||
- name: Build
|
||||
run: python tests/main.py build
|
||||
env:
|
||||
CC: cl
|
||||
|
||||
test-native:
|
||||
runs-on: ubuntu-latest
|
||||
name: amd64 Executable Tests
|
||||
|
||||
Reference in New Issue
Block a user