Merge pull request #152 from snshn/separate-ci-build-jobs
Separate OS build jobs
This commit is contained in:
commit
874080dbda
22
.github/workflows/build_gnu_linux.yml
vendored
Normal file
22
.github/workflows/build_gnu_linux.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: GNU/Linux
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-latest
|
||||||
|
rust:
|
||||||
|
- stable
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- run: git config --global core.autocrlf false
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --all --locked --verbose
|
22
.github/workflows/build_macos.yml
vendored
Normal file
22
.github/workflows/build_macos.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: macOS
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- macos-latest
|
||||||
|
rust:
|
||||||
|
- stable
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- run: git config --global core.autocrlf false
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --all --locked --verbose
|
@ -1,4 +1,4 @@
|
|||||||
name: Build
|
name: Windows
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -10,8 +10,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
|
||||||
- macos-latest
|
|
||||||
- windows-latest
|
- windows-latest
|
||||||
rust:
|
rust:
|
||||||
- stable
|
- stable
|
4
.github/workflows/cd.yml
vendored
4
.github/workflows/cd.yml
vendored
@ -12,9 +12,7 @@ jobs:
|
|||||||
- run: git config --global core.autocrlf false
|
- run: git config --global core.autocrlf false
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
- name: Build the executable
|
- name: Build and install the executable
|
||||||
run: cargo build --all --locked
|
|
||||||
- name: Perform local installation
|
|
||||||
run: cargo install --force --locked --path .
|
run: cargo install --force --locked --path .
|
||||||
- uses: Shopify/upload-to-release@1.0.0
|
- uses: Shopify/upload-to-release@1.0.0
|
||||||
with:
|
with:
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
[![GitHub Actions Build Status](https://github.com/Y2Z/monolith/workflows/Build/badge.svg)](https://github.com/Y2Z/monolith/actions?query=workflow%3ABuild)
|
[![GitHub Actions Build Status for GNU/Linux](https://github.com/Y2Z/monolith/workflows/GNU%2FLinux/badge.svg)](https://github.com/Y2Z/monolith/actions?query=workflow%3AGNU%2FLinux)
|
||||||
|
[![GitHub Actions Build Status for macOS](https://github.com/Y2Z/monolith/workflows/macOS/badge.svg)](https://github.com/Y2Z/monolith/actions?query=workflow%3AmacOS)
|
||||||
|
[![GitHub Actions Build Status for Windows](https://github.com/Y2Z/monolith/workflows/Windows/badge.svg)](https://github.com/Y2Z/monolith/actions?query=workflow%3AWindows)
|
||||||
|
|
||||||
```
|
```
|
||||||
___ ___________ __________ ___________________ ___
|
___ ___________ __________ ___________________ ___
|
||||||
|
Loading…
Reference in New Issue
Block a user