mirror of
https://github.com/ilammy/msvc-dev-cmd.git
synced 2026-09-06 21:57:19 +08:00
Compare commits
6 Commits
v1.0.1
...
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:
|
||||
- master
|
||||
- release/*
|
||||
- wip/debugging
|
||||
schedule:
|
||||
- cron: '0 6 * * *'
|
||||
|
||||
@@ -15,6 +16,13 @@ jobs:
|
||||
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
|
||||
@@ -23,6 +31,7 @@ jobs:
|
||||
- name: Enable Developer Command Prompt
|
||||
uses: ./
|
||||
- name: Compile and run some C code
|
||||
shell: cmd
|
||||
run: |
|
||||
cl.exe hello.c
|
||||
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