Files
msvc-dev-cmd/.github/workflows/main.yml
T
Alexei Lozovsky ac2ceb2811 show me the env
2021-03-07 13:51:48 +09:00

44 lines
901 B
YAML

name: msvc-dev-cmd
on:
pull_request:
push:
branches:
- master
- release/*
- wip/path-test
schedule:
- cron: '0 6 * * *'
jobs:
test:
name: default
runs-on: windows-latest
steps:
- name: Check out source code
uses: actions/checkout@v2
- name: Download Internet
run: npm install
- name: What's in the env?
shell: cmd
run: set
- name: Enable Developer Command Prompt
uses: ./
- name: What's in the env now?
shell: cmd
run: set
- name: Compile and run some C code
shell: cmd
run: |
cl.exe hello.c
hello.exe
audit:
name: npm audit
if: false
runs-on: windows-latest
steps:
- name: Check out source code
uses: actions/checkout@v2
- run: npm install
- run: npm audit --audit-level=moderate