Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso committed Oct 1, 2024
1 parent ba6687f commit b566148
Show file tree
Hide file tree
Showing 6 changed files with 3,680 additions and 234 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
run: cargo test --all-features --verbose --locked -- --nocapture

build:
needs: test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -78,12 +77,18 @@ jobs:

- name: Install build dependencies - Rustup
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable --profile minimal --target ${{ matrix.TARGET }} -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable --profile minimal --target ${{ matrix.TARGET }} wasm32-unknown-unknown -y
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install build dependencies - Cross
if: ${{ contains(matrix.TARGET, 'linux') }}
run: cargo install cross
- name: Install build dependencies - Cargo-Binstall
uses: cargo-bins/cargo-binstall@main

- name: Install build dependencies - Cross, Trunk
run: cargo binstall -y trunk cross

- name: Building frontend (wasm32)
working-directory: src/webpage
run: trunk build --release --locked --verbose

- name: Building for ${{ matrix.os }} ${{ matrix.target }} (${{ matrix.EXTENSION }})
if: ${{ contains(matrix.TARGET, 'linux') }}
Expand Down
Loading

0 comments on commit b566148

Please sign in to comment.