Skip to content

Commit

Permalink
workflow: Remove all features and move services.
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhunsen committed Aug 28, 2024
1 parent 6a801cc commit b76b6dd
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,14 @@ on: [push]
env:
CARGO_TERM_COLOR: always
CARGO_TERM_VERBOSE: true
CARGOFLAGS: --workspace --all-targets --all-features
CARGOFLAGS: --workspace --all-targets
RUST_LOG: trace

jobs:
debug_mode_build:
name: Compile code in debug mode
runs-on: ubicloud-standard-4

services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: clementine
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 50
steps:
- uses: actions/checkout@v4

Expand All @@ -49,21 +34,6 @@ jobs:
name: Compile code in release mode
runs-on: ubicloud-standard-4

services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: clementine
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 50
steps:
- uses: actions/checkout@v4

Expand All @@ -86,6 +56,21 @@ jobs:
runs-on: ubicloud-standard-4
needs: debug_mode_build

services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: clementine
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 50
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -161,6 +146,21 @@ jobs:
runs-on: ubicloud-standard-4
needs: release_mode_build

services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: clementine
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 50
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit b76b6dd

Please sign in to comment.