Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Dec 11, 2023
1 parent 3c56548 commit c269ebb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
name: Build and Deploy
on:
push:
tags:
- "v*.*.*"
# tags:
# - "v*.*.*"
branches:
- "ci/integration-tests"

env:
CARGO_TERM_COLOR: always

jobs:
build_server:
uses: ./.github/workflows/build_server.yml
test_server:
uses: ./.github/workflows/test_server.yml
needs: [build_server]
build:
name: Build ENState 🚀
runs-on: ubuntu-latest
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/build_server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
workflow_call:

jobs:
build:
name: Build ENState 🚀
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2

- run: cargo build --release
working-directory: server

0 comments on commit c269ebb

Please sign in to comment.