Skip to content

Commit

Permalink
update release
Browse files Browse the repository at this point in the history
add build to ci
  • Loading branch information
sehz committed Jan 30, 2025
1 parent 81e9961 commit db4c8fc
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,41 @@ jobs:
run: make clippy


build:
name: build
runs-on: ubuntu-latest


steps:
- name: Checkout Source Code
uses: actions/checkout@v4


- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: install wasm target
run: rustup target add ${{ env.WASI_TARGET }}


- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
timeout-minutes: 10

- name: Build web
run: make -C crates/fluvio-web build

- name: Build widget
run: make -C widgets/counter build



# To satisfy the merge queue check
done:
name: Done
needs:
- check
- build
runs-on: ubuntu-latest
if: always()
steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
WASM_TARGET = wasm32-unknown-unknown
RELEASE = v0.2.0
RELEASE = v0.2.1

fmt:
cargo fmt -- --check
Expand Down
8 changes: 7 additions & 1 deletion widgets/counter/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
build:
trunk build --config release/Trunk.toml
trunk build --config dev/Trunk.toml

serve:
trunk serve --config dev/Trunk.toml


dist:
trunk build --config release/Trunk.toml




RELEASE_TAG = v0.1.0

Expand Down

0 comments on commit db4c8fc

Please sign in to comment.