Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
fixed docker-wasm CI
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau committed Jan 18, 2023
1 parent cc41674 commit 053f6f0
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,7 @@ jobs:
- name: Lint | Rustfmt
run: cargo fmt -- --check

check:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup | Checkout
uses: actions/checkout@v3

- name: Setup | Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal

- name: Setup | Ubuntu dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt install libasound2-dev libudev-dev pkg-config

- name: Check
run: cargo check

build:
needs: check
strategy:
fail-fast: false
matrix:
Expand All @@ -82,7 +58,6 @@ jobs:
run: cargo build

build-wasm:
needs: check
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
Expand All @@ -96,6 +71,7 @@ jobs:
- name: Build | Trunk
run: |
cd launchers/wasm
trunk build
- name: Post Setup | Upload dist
uses: actions/upload-artifact@v3
Expand All @@ -113,7 +89,7 @@ jobs:
uses: actions/download-artifact@v3

- name: Setup | Place dist
run: mv ./artifact ./launchers/wasm/dist/
run: mv ./artifact ./launchers/wasm/dist

- name: Setup | Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down

0 comments on commit 053f6f0

Please sign in to comment.