Skip to content

Commit 588238e

Browse files
author
nomon0705
committed
create DeadBeef file
0 parents  commit 588238e

38 files changed

+3612
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "Rust",
3+
"image": "mcr.microsoft.com/devcontainers/rust:1-1-bookworm"
4+
}

.github/workflows/rust.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
RUSTFLAGS: "-Dwarnings"
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Lint
20+
run: |
21+
cargo fmt --check
22+
cargo clippy
23+
- name: Tests
24+
run: cargo test

.github/workflows/wasm.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: WASM
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
RUSTFLAGS: "-Dwarnings"
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Requirements
20+
run: |
21+
sudo apt-get update && sudo apt-get install binaryen
22+
curl -fsSL https://rustwasm.github.io/wasm-pack/installer/init.sh | sh
23+
curl -fsSL https://deno.land/x/install/install.sh | sh
24+
echo "${HOME}/.deno/bin" >> "${GITHUB_PATH}"
25+
- name: Versions
26+
run: |
27+
wasm-opt --version
28+
wasm-pack --version
29+
deno --version
30+
- name: Tests
31+
run: |
32+
cd wasm
33+
# For some reason, `wasm-opt` is causing issues in CI...
34+
make test WASM_PACK_FLAGS=--no-opt

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

0 commit comments

Comments
 (0)