Skip to content

Commit

Permalink
ci/cd: instead of build docker image, build directly workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
kszinhu committed Feb 20, 2024
1 parent 98ef1c1 commit 48d0e66
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,16 @@ jobs:
- name: 📥 Checkout
uses: actions/checkout@v4

- uses: jirutka/setup-alpine@v1
with:
branch: v3.19

- name: ⚡️ Rust Cache
uses: Swatinem/rust-cache@v2

- name: ⚡️ Shared Compilation Cache
uses: mozilla-actions/sccache-action@v0.0.4

- name: 📦 Install Dependencies
shell: alpine.sh {0}
run: |
apk add --no-cache \
build-base cmake musl-dev pkgconfig openssl-dev \
libpq-dev curl git
sudo apt-get update
sudo apt-get install -y build-essential gcc cmake musl-dev pkg-config libpq-dev openssl libssl-dev
- name: 🛠️ Set up Rust
uses: actions-rs/toolchain@v1
Expand All @@ -43,7 +37,6 @@ jobs:
override: true

- name: 🚀 Build
shell: alpine.sh {0}
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
Expand Down

0 comments on commit 48d0e66

Please sign in to comment.