1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 15:04:36 +03:00

Format non-generated workflow files

This commit is contained in:
Frieder Bluemle 2021-10-02 14:26:22 +02:00 committed by Wez Furlong
parent b56f67579d
commit 57eebb7997
10 changed files with 7 additions and 28 deletions

View File

@ -17,7 +17,6 @@ on:
jobs:
build:
runs-on: "macos-11"
steps:
- name: "checkout repo"
uses: actions/checkout@v2
@ -83,7 +82,6 @@ jobs:
export MACOSX_DEPLOYMENT_TARGET=10.9
mkdir pkg_
mv *.zip pkg_
- name: "Upload artifact"
uses: actions/upload-artifact@master
with:

View File

@ -19,7 +19,6 @@ on:
jobs:
build:
runs-on: "macos-11"
steps:
- name: "checkout repo"
uses: actions/checkout@v2
@ -31,14 +30,12 @@ jobs:
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@ -54,42 +51,36 @@ jobs:
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
rustup target add aarch64-apple-darwin
- name: "Install System Deps"
shell: bash
run: |
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
env PATH=$PATH ./get-deps
- name: "Build (Release mode Intel)"
shell: bash
run: |
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
cargo build --target x86_64-apple-darwin --all --release
- name: "Build (Release mode ARM)"
shell: bash
run: |
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
cargo build --target aarch64-apple-darwin --all --release
- name: "Test (Release mode)"
shell: bash
run: |
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
cargo test --target x86_64-apple-darwin --all --release
- name: "Package"
shell: bash
run: |
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
bash ci/deploy.sh
- name: "Upload to Nightly Release"
uses: wez/upload-release-assets@releases/v1
if: github.event.repository.fork == false

View File

@ -8,7 +8,6 @@ on:
jobs:
build:
runs-on: "macos-11"
steps:
- name: "checkout repo"
uses: actions/checkout@v2

View File

@ -17,7 +17,6 @@ on:
jobs:
build:
runs-on: "ubuntu-18.04"
steps:
- name: "Update APT"
shell: bash

View File

@ -19,7 +19,6 @@ on:
jobs:
build:
runs-on: "ubuntu-18.04"
steps:
- name: "Update APT"
shell: bash

View File

@ -8,7 +8,6 @@ on:
jobs:
build:
runs-on: "ubuntu-18.04"
steps:
- name: "Update APT"
shell: bash

View File

@ -17,7 +17,6 @@ on:
jobs:
build:
runs-on: "vs2017-win2016"
steps:
- name: "checkout repo"
uses: actions/checkout@v2
@ -53,7 +52,6 @@ jobs:
- name: "Build (Release mode)"
shell: cmd
run: |
PATH C:\Strawberry\perl\bin;%PATH%
cargo build --all --release
- name: "Test (Release mode)"

View File

@ -19,7 +19,6 @@ on:
jobs:
build:
runs-on: "vs2017-win2016"
steps:
- name: "checkout repo"
uses: actions/checkout@v2
@ -56,7 +55,6 @@ jobs:
- name: "Build (Release mode)"
shell: cmd
run: |
PATH C:\Strawberry\perl\bin;%PATH%
cargo build --all --release
- name: "Test (Release mode)"

View File

@ -8,7 +8,6 @@ on:
jobs:
build:
runs-on: "vs2017-win2016"
steps:
- name: "checkout repo"
uses: actions/checkout@v2
@ -41,7 +40,6 @@ jobs:
- name: "Build (Release mode)"
shell: cmd
run: |
PATH C:\Strawberry\perl\bin;%PATH%
cargo build --all --release
- name: "Test (Release mode)"

View File

@ -3,14 +3,14 @@ name: pages
on:
push:
branches:
- main
- main
paths:
- 'docs/**'
- 'ci/build-docs.sh'
- 'ci/generate-docs.py'
- 'ci/subst-release-info.py'
- '.github/workflows/pages.yml'
- '.github/ISSUE_TEMPLATE/*'
- "docs/**"
- "ci/build-docs.sh"
- "ci/generate-docs.py"
- "ci/subst-release-info.py"
- ".github/workflows/pages.yml"
- ".github/ISSUE_TEMPLATE/*"
schedule:
- cron: "50 * * * *"