mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-23 15:50:11 -05:00
Format .github/workflows/ci.yml (#241)
This commit is contained in:
parent
be179154a4
commit
26cda9305e
1 changed files with 11 additions and 11 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -17,23 +17,23 @@ jobs:
|
|||
config:
|
||||
- os: macOS-latest
|
||||
target: x86_64-apple-darwin
|
||||
variant: "debug"
|
||||
variant: debug
|
||||
|
||||
- os: macOS-latest
|
||||
target: x86_64-apple-darwin
|
||||
variant: "release"
|
||||
variant: release
|
||||
|
||||
- os: ubuntu-16.04
|
||||
target: "x86_64-unknown-linux-gnu"
|
||||
variant: "debug"
|
||||
target: x86_64-unknown-linux-gnu
|
||||
variant: debug
|
||||
|
||||
- os: ubuntu-16.04
|
||||
target: "x86_64-unknown-linux-gnu"
|
||||
variant: "release"
|
||||
target: x86_64-unknown-linux-gnu
|
||||
variant: release
|
||||
|
||||
- os: windows-2019
|
||||
target: x86_64-pc-windows-msvc
|
||||
variant: "release"
|
||||
variant: release
|
||||
# Note we do not support windows debug builds.
|
||||
|
||||
env:
|
||||
|
@ -50,12 +50,12 @@ jobs:
|
|||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 10
|
||||
submodules: "recursive"
|
||||
submodules: recursive
|
||||
|
||||
- name: Install rust
|
||||
uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
rust-version: "1.42.0"
|
||||
rust-version: 1.42.0
|
||||
|
||||
- name: Install rust tools
|
||||
run: rustup component add clippy rustfmt
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
|||
- name: Install python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: "2.7.x"
|
||||
python-version: 2.7.x
|
||||
architecture: x64
|
||||
|
||||
- name: Configure cargo data directory
|
||||
|
@ -150,7 +150,7 @@ jobs:
|
|||
|
||||
- name: Publish
|
||||
# Only publish on x64 linux when there's a git tag:
|
||||
if: >
|
||||
if: >-
|
||||
startsWith(github.ref, 'refs/tags/') &&
|
||||
github.repository == 'denoland/rusty_v8' &&
|
||||
startsWith(matrix.config.target , 'x86_64') &&
|
||||
|
|
Loading…
Reference in a new issue