Skip to content

Commit

Permalink
Remove wasmtime example. (#2001)
Browse files Browse the repository at this point in the history
* ci: Add additional targets.

* Remove proxy wasmtime example.
  • Loading branch information
langyo authored Dec 10, 2023
1 parent 510d05a commit cc5d91e
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 610 deletions.
46 changes: 22 additions & 24 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,52 @@
# GitHub Actions with Conditional Job Running Based on Commit Message
#
#
# --------------------------------------------------------------------------------
#
#
# Following jobs will always run
#
#
# - `clippy`
# - `test`
# - `examples`
#
#
# Following jobs will be run when no keywords were found in commit message)
#
#
# - `compile-sqlite`
# - `sqlite`
# - `compile-mysql`
# - `mysql`
# - `mariadb`
# - `compile-postgres`
# - `postgres`
#
#
# Following jobs will be run if keywords `[issues]` were found in commit message
#
#
# - Jobs that will always run
# - `issues`
#
#
# Following jobs will be run if keywords `[cli]` were found in commit message
#
#
# - Jobs that will always run
# - `cli`
#
#
# Following jobs will be run if keywords `[sqlite]` were found in commit message
#
#
# - Jobs that will always run
# - `compile-sqlite`
# - `sqlite`
#
#
# Following jobs will be run if keywords `[mysql]` were found in commit message
#
#
# - Jobs that will always run
# - `compile-mysql`
# - `mysql`
# - `mariadb`
#
#
# Following jobs will be run if keywords `[postgres]` were found in commit message
#
#
# - Jobs that will always run
# - `compile-postgres`
# - `postgres`


name: tests

on:
Expand All @@ -73,7 +72,6 @@ env:
CARGO_TERM_COLOR: always

jobs:

init:
name: Init
runs-on: ubuntu-latest
Expand Down Expand Up @@ -299,7 +297,7 @@ jobs:
}}
runs-on: ubuntu-latest
env:
DATABASE_URL: "sqlite::memory:"
DATABASE_URL: 'sqlite::memory:'
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -331,7 +329,7 @@ jobs:
}}
runs-on: ubuntu-latest
env:
DATABASE_URL: "mysql://root:@localhost"
DATABASE_URL: 'mysql://root:@localhost'
strategy:
fail-fast: false
matrix:
Expand All @@ -349,7 +347,7 @@ jobs:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_ROOT_PASSWORD:
ports:
- "3306:3306"
- '3306:3306'
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
Expand Down Expand Up @@ -381,7 +379,7 @@ jobs:
}}
runs-on: ubuntu-latest
env:
DATABASE_URL: "mysql://root:@localhost"
DATABASE_URL: 'mysql://root:@localhost'
strategy:
fail-fast: false
matrix:
Expand All @@ -399,7 +397,7 @@ jobs:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_ROOT_PASSWORD:
ports:
- "3306:3306"
- '3306:3306'
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
Expand Down Expand Up @@ -430,7 +428,7 @@ jobs:
}}
runs-on: ubuntu-latest
env:
DATABASE_URL: "postgres://root:root@localhost"
DATABASE_URL: 'postgres://root:root@localhost'
strategy:
fail-fast: false
matrix:
Expand All @@ -445,7 +443,7 @@ jobs:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
ports:
- "5432:5432"
- '5432:5432'
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand Down
34 changes: 0 additions & 34 deletions examples/proxy_wasmtime_example/Cargo.toml

This file was deleted.

8 changes: 0 additions & 8 deletions examples/proxy_wasmtime_example/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions examples/proxy_wasmtime_example/build.rs

This file was deleted.

14 changes: 0 additions & 14 deletions examples/proxy_wasmtime_example/module/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion examples/proxy_wasmtime_example/module/src/entity/mod.rs

This file was deleted.

17 changes: 0 additions & 17 deletions examples/proxy_wasmtime_example/module/src/entity/post.rs

This file was deleted.

144 changes: 0 additions & 144 deletions examples/proxy_wasmtime_example/module/src/main.rs

This file was deleted.

Binary file not shown.
Loading

0 comments on commit cc5d91e

Please sign in to comment.