mirror of
https://github.com/ilammy/msvc-dev-cmd.git
synced 2026-09-07 06:07:19 +08:00
b6e52219de
Make sure that the released version is also fine. Run this test every time a push is made into the release branch as well as on schedule.
26 lines
492 B
YAML
26 lines
492 B
YAML
name: msvc-dev-cmd (release)
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- release/*
|
|
schedule:
|
|
- cron: '0 6 * * *'
|
|
|
|
jobs:
|
|
test:
|
|
name: release
|
|
runs-on: windows-latest
|
|
strategy:
|
|
fail-fast: false
|
|
steps:
|
|
- name: Setup Developer Command Prompt
|
|
uses: ilammy/msvc-dev-cmd@v1
|
|
- name: Check out source code
|
|
uses: actions/checkout@v1
|
|
- name: Compile and run some C code
|
|
shell: cmd
|
|
run: |
|
|
cl.exe hello.c
|
|
hello.exe
|