mirror of
https://github.com/ilammy/msvc-dev-cmd.git
synced 2026-09-07 06:07:19 +08:00
987899132c
Well, it seems the environment is changing so we'd better run the tests reguarly to see whether something breaks in a timely manner. GitHub Actions also don't offer other Windows environments now, only windows-latest is available. Reduce test matrix to only that.
29 lines
532 B
YAML
29 lines
532 B
YAML
name: msvc-dev-cmd
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release/*
|
|
schedule:
|
|
- cron: '0 6 * * *'
|
|
|
|
jobs:
|
|
test:
|
|
name: default
|
|
runs-on: windows-latest
|
|
strategy:
|
|
fail-fast: false
|
|
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
|