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

Commit 053f6f0

Browse files
committed
fixed docker-wasm CI
1 parent cc41674 commit 053f6f0

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,7 @@ jobs:
3434
- name: Lint | Rustfmt
3535
run: cargo fmt -- --check
3636

37-
check:
38-
strategy:
39-
fail-fast: false
40-
matrix:
41-
os: [macos-latest, windows-latest, ubuntu-latest]
42-
runs-on: ${{ matrix.os }}
43-
steps:
44-
- name: Setup | Checkout
45-
uses: actions/checkout@v3
46-
47-
- name: Setup | Rust
48-
uses: actions-rs/toolchain@v1
49-
with:
50-
toolchain: nightly
51-
profile: minimal
52-
53-
- name: Setup | Ubuntu dependencies
54-
if: matrix.os == 'ubuntu-latest'
55-
run: sudo apt install libasound2-dev libudev-dev pkg-config
56-
57-
- name: Check
58-
run: cargo check
59-
6037
build:
61-
needs: check
6238
strategy:
6339
fail-fast: false
6440
matrix:
@@ -82,7 +58,6 @@ jobs:
8258
run: cargo build
8359

8460
build-wasm:
85-
needs: check
8661
runs-on: ubuntu-latest
8762
steps:
8863
- name: Setup | Checkout
@@ -96,6 +71,7 @@ jobs:
9671
- name: Build | Trunk
9772
run: |
9873
cd launchers/wasm
74+
trunk build
9975
10076
- name: Post Setup | Upload dist
10177
uses: actions/upload-artifact@v3
@@ -113,7 +89,7 @@ jobs:
11389
uses: actions/download-artifact@v3
11490

11591
- name: Setup | Place dist
116-
run: mv ./artifact ./launchers/wasm/dist/
92+
run: mv ./artifact ./launchers/wasm/dist
11793

11894
- name: Setup | Docker Buildx
11995
uses: docker/setup-buildx-action@v2

0 commit comments

Comments
 (0)