Skip to content

Commit

Permalink
Add build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-xr committed Jun 1, 2024
1 parent e53815f commit a4668ad
Showing 1 changed file with 4 additions and 28 deletions.
32 changes: 4 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,32 +29,8 @@ jobs:
with:
toolchain: stable

- name: Build Rust
run: npm run build-rust

- name: Test Rust
run: npm run test-rust

# Separate build job for JavaScript
build-javascript:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "8.0.x"

- name: Restore tools
run: dotnet tool restore
- name: Build F#
run: npm run build:examples:pong:rust

- name: Setup Node.js environment
uses: actions/[email protected]

- name: Build JS
run: npm run build-js

- name: Test JS
run: npm run test-js-node
- name: Build Rust
run: cargo build

0 comments on commit a4668ad

Please sign in to comment.