mirror of
https://github.com/denoland/rusty_v8.git
synced 2025-03-09 21:47:00 -04: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:
|
config:
|
||||||
- os: macOS-latest
|
- os: macOS-latest
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
variant: "debug"
|
variant: debug
|
||||||
|
|
||||||
- os: macOS-latest
|
- os: macOS-latest
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
variant: "release"
|
variant: release
|
||||||
|
|
||||||
- os: ubuntu-16.04
|
- os: ubuntu-16.04
|
||||||
target: "x86_64-unknown-linux-gnu"
|
target: x86_64-unknown-linux-gnu
|
||||||
variant: "debug"
|
variant: debug
|
||||||
|
|
||||||
- os: ubuntu-16.04
|
- os: ubuntu-16.04
|
||||||
target: "x86_64-unknown-linux-gnu"
|
target: x86_64-unknown-linux-gnu
|
||||||
variant: "release"
|
variant: release
|
||||||
|
|
||||||
- os: windows-2019
|
- os: windows-2019
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
variant: "release"
|
variant: release
|
||||||
# Note we do not support windows debug builds.
|
# Note we do not support windows debug builds.
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -50,12 +50,12 @@ jobs:
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 10
|
fetch-depth: 10
|
||||||
submodules: "recursive"
|
submodules: recursive
|
||||||
|
|
||||||
- name: Install rust
|
- name: Install rust
|
||||||
uses: hecrj/setup-rust-action@v1
|
uses: hecrj/setup-rust-action@v1
|
||||||
with:
|
with:
|
||||||
rust-version: "1.42.0"
|
rust-version: 1.42.0
|
||||||
|
|
||||||
- name: Install rust tools
|
- name: Install rust tools
|
||||||
run: rustup component add clippy rustfmt
|
run: rustup component add clippy rustfmt
|
||||||
|
@ -63,7 +63,7 @@ jobs:
|
||||||
- name: Install python
|
- name: Install python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: "2.7.x"
|
python-version: 2.7.x
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
- name: Configure cargo data directory
|
- name: Configure cargo data directory
|
||||||
|
@ -150,7 +150,7 @@ jobs:
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
# Only publish on x64 linux when there's a git tag:
|
# Only publish on x64 linux when there's a git tag:
|
||||||
if: >
|
if: >-
|
||||||
startsWith(github.ref, 'refs/tags/') &&
|
startsWith(github.ref, 'refs/tags/') &&
|
||||||
github.repository == 'denoland/rusty_v8' &&
|
github.repository == 'denoland/rusty_v8' &&
|
||||||
startsWith(matrix.config.target , 'x86_64') &&
|
startsWith(matrix.config.target , 'x86_64') &&
|
||||||
|
|
Loading…
Add table
Reference in a new issue