mirror of
https://github.com/ilammy/msvc-dev-cmd.git
synced 2026-09-07 06:07:19 +08:00
Compare commits
6 Commits
v1.6.0
...
wip/debugging
| Author | SHA1 | Date | |
|---|---|---|---|
| e9437d41fc | |||
| 5cf1eeecd8 | |||
| 060bdc7cb5 | |||
| b6e52219de | |||
| a46bb485fb | |||
| ce962cf525 |
@@ -0,0 +1,11 @@
|
|||||||
|
name: Python package
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "windows-latest"
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
python-version:
|
||||||
|
- "2.7"
|
||||||
|
steps:
|
||||||
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
@@ -6,6 +6,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- release/*
|
- release/*
|
||||||
|
- wip/debugging
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 6 * * *'
|
- cron: '0 6 * * *'
|
||||||
|
|
||||||
@@ -15,6 +16,13 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
python-version:
|
||||||
|
- '2.7'
|
||||||
|
- '3.5'
|
||||||
|
- '3.6'
|
||||||
|
- '3.7'
|
||||||
|
- '3.8'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source code
|
- name: Check out source code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
@@ -23,6 +31,7 @@ jobs:
|
|||||||
- name: Enable Developer Command Prompt
|
- name: Enable Developer Command Prompt
|
||||||
uses: ./
|
uses: ./
|
||||||
- name: Compile and run some C code
|
- name: Compile and run some C code
|
||||||
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
cl.exe hello.c
|
cl.exe hello.c
|
||||||
hello.exe
|
hello.exe
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
name: msvc-dev-cmd (release)
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- release/*
|
||||||
|
- wip/debugging
|
||||||
|
schedule:
|
||||||
|
- cron: '0 6 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: release
|
||||||
|
runs-on: windows-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
python-version:
|
||||||
|
- '2.7'
|
||||||
|
- '3.5'
|
||||||
|
- '3.6'
|
||||||
|
- '3.7'
|
||||||
|
- '3.8'
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user