mirror of
https://github.com/ilammy/msvc-dev-cmd.git
synced 2026-09-07 06:07:19 +08:00
d33b04e19c
Try compiling some C code, If it works then we're probably fine. I don't even try to verify cross-compilation because I don't need it. It should work, but that's not my problem right now.
29 lines
569 B
YAML
29 lines
569 B
YAML
name: msvc-dev-cmd
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release/*
|
|
|
|
jobs:
|
|
test:
|
|
name: default
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [windows-2016, windows-2019, windows-latest]
|
|
steps:
|
|
- name: Check out source code
|
|
uses: actions/checkout@v1
|
|
- name: Download Internet
|
|
run: npm install
|
|
- name: Enable Developer Command Prompt
|
|
uses: ./
|
|
- name: Compile and run some C code
|
|
run: |
|
|
cl.exe hello.c
|
|
hello.exe
|