Skip to content

Commit

Permalink
Initial work on env virtualization (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored Jul 11, 2023
1 parent 00bc712 commit ca7036d
Show file tree
Hide file tree
Showing 49 changed files with 6,189 additions and 6 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]
defaults:
run:
shell: bash

# Cancel any in-flight jobs for the same PR/branch so there's only one active
# at a time
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Install Rust
run: rustup update nightly --no-self-update && rustup default nightly && rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu

- name: Install wasm32-unknown target
run: rustup target add wasm32-unknown-unknown

- name: Install wasm32-wasi target
run: rustup target add wasm32-wasi

- name: Test
run: cargo test

rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
run: rustup update nightly && rustup default nightly && rustup component add rustfmt
- name: Format source code
run: cargo fmt -- --check
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
/tests/generated
3 changes: 1 addition & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributor Covenant Code of Conduct

*Note*: this Code of Conduct pertains to individuals' behavior. Please also see the [Organizational Code of Conduct][OCoC].
*Note*: this Code of Conduct pertains to individuals' behavior. Please also see the [Organizational Code of Conduct](ORG_CODE_OF_CONDUCT.md).

## Our Pledge

Expand Down Expand Up @@ -44,6 +44,5 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[OCoC]: https://github.com/bytecodealliance/wasmtime/blob/main/ORG_CODE_OF_CONDUCT.md
[homepage]: https://www.contributor-covenant.org
[version]: https://www.contributor-covenant.org/version/1/4/
Loading

0 comments on commit ca7036d

Please sign in to comment.