Skip to content

Commit

Permalink
chore(actions): updated build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
timkolloch committed Aug 17, 2024
1 parent b779edc commit 5a5def1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/BuildAndTest.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Rust

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build debug
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Build release
run: cargo build --release --verbose
- uses: actions/upload-artifact@v4
with:
name: linux-binary-debug
path: target/debug/tandoor_importer
- uses: actions/upload-artifact@v4
with:
name: linux-binary-release
path: target/release/tandoor_importer

0 comments on commit 5a5def1

Please sign in to comment.