Skip to content

Commit

Permalink
refactor: Update wasmtime to 10.0.*, along w/ wasmparser & other rela… (
Browse files Browse the repository at this point in the history
#181)

# Description

Main thread: Update wasmtime to 10.0.*, along w/ wasmparser & other
related deps

Includes:
- re-naming `homestar-guest-wasm` crate to `homestar-functions` and
using feature flags to generate specific wasm mods
- a removal of a test involving (list (tuple string (union bool u16))),
as upstream wasmtime/wit regards this export as invalid and not
compatible
  - clean-up of wasm test fixtures for `homestar-wasm`
- **important**: update flake to unstable nix in order to accommodate
wasm-tools's latest version, among other wasm tools
  - add nix shell commands for wasm/fixture processing
  • Loading branch information
Zeeshan Lakhani committed Jul 7, 2023
1 parent 86ca3e4 commit 307d234
Show file tree
Hide file tree
Showing 36 changed files with 3,928 additions and 3,736 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: 📦 Nix Build

on:
push:
branches: [ main ]

pull_request:
branches: [ '**' ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
run-checks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout Repository
uses: actions/checkout@v3

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4

- name: Cache Magic
uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v5
with:
ignore-missing-flake-lock: false
fail-mode: true

- name: Nix Build
run: |
nix develop --show-trace -c irust --version
nix develop --show-trace -c rustc --version
1 change: 1 addition & 0 deletions .ignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ flake.lock
release-please-config.json
deny.toml
diesel.toml
codecov.yml
LICENSE
*.nix
*.md
Expand Down
Loading

0 comments on commit 307d234

Please sign in to comment.