remove CI workflow and update .gitignore to include .github directory
This commit is contained in:
parent
d537fc9318
commit
0fe25373d7
2 changed files with 2 additions and 43 deletions
42
.github/workflows/ci.yml
vendored
42
.github/workflows/ci.yml
vendored
|
|
@ -1,42 +0,0 @@
|
||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ main ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ main ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-test:
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest, macos-latest]
|
|
||||||
rust: [stable]
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Install Rust
|
|
||||||
uses: dtolnay/rust-toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: ${{ matrix.rust }}
|
|
||||||
- name: Cargo cache
|
|
||||||
uses: Swatinem/rust-cache@v2
|
|
||||||
with:
|
|
||||||
workspaces: |
|
|
||||||
. -> target
|
|
||||||
- name: Build
|
|
||||||
run: cargo build --workspace --verbose
|
|
||||||
- name: Run tests
|
|
||||||
run: cargo test --workspace --verbose
|
|
||||||
- name: Build release
|
|
||||||
run: cargo build --workspace --release
|
|
||||||
- name: Package artifacts
|
|
||||||
run: |
|
|
||||||
mkdir -p dist
|
|
||||||
tar -czf dist/bread-${{ matrix.os }}.tgz target/release/breadd target/release/bread-cli
|
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: bread-${{ matrix.os }}
|
|
||||||
path: dist/*.tgz
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
target/
|
target/
|
||||||
Overview.md
|
Overview.md
|
||||||
DAEMON.md
|
DAEMON.md
|
||||||
|
.github/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue