mirror of
https://github.com/ilammy/msvc-dev-cmd.git
synced 2026-09-06 21:57:19 +08:00
5cf1eeecd8
In particular, runners and Node.js seems to be failing with Python 2. We'd better test those to see if they ever break on us.
38 lines
701 B
YAML
38 lines
701 B
YAML
name: msvc-dev-cmd
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release/*
|
|
- wip/debugging
|
|
schedule:
|
|
- cron: '0 6 * * *'
|
|
|
|
jobs:
|
|
test:
|
|
name: default
|
|
runs-on: windows-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version:
|
|
- '2.7'
|
|
- '3.5'
|
|
- '3.6'
|
|
- '3.7'
|
|
- '3.8'
|
|
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
|
|
shell: cmd
|
|
run: |
|
|
cl.exe hello.c
|
|
hello.exe
|