1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +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: jobs:
build: build:
runs-on: "macos-11" runs-on: "macos-11"
steps: steps:
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -83,7 +82,6 @@ jobs:
export MACOSX_DEPLOYMENT_TARGET=10.9 export MACOSX_DEPLOYMENT_TARGET=10.9
mkdir pkg_ mkdir pkg_
mv *.zip pkg_ mv *.zip pkg_
- name: "Upload artifact" - name: "Upload artifact"
uses: actions/upload-artifact@master uses: actions/upload-artifact@master
with: with:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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