zach
b249f09b90
fix(ci): remove path parameter from download-artifact action in release workflow ( #831 )
2025-02-10 10:28:23 -08:00
zach
d7956ff08c
fix(ci): use new download-artifact api ( #827 )
2025-02-04 13:49:19 -08:00
dependabot[bot]
87c3384f1e
chore(deps): Update ureq requirement from 2.5 to 3.0 ( #825 )
...
Closes #824
Updates the requirements on [ureq](https://github.com/algesten/ureq ) to
permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/algesten/ureq/blob/main/CHANGELOG.md ">ureq's
changelog</a>.</em></p>
<blockquote>
<h1>3.0.3</h1>
<ul>
<li>Use the same data in CONNECT and Host header for proxied requests
(<a
href="https://redirect.github.com/algesten/ureq/issues/967 ">#967</a>)</li>
<li>Set default scheme in proxy uri (<a
href="https://redirect.github.com/algesten/ureq/issues/966 ">#966</a>)</li>
<li>Redact URI and Location header on debug level (<a
href="https://redirect.github.com/algesten/ureq/issues/964 ">#964</a>)</li>
<li>Downgrade all logging to debug and below (<a
href="https://redirect.github.com/algesten/ureq/issues/964 ">#964</a>)</li>
</ul>
<h1>3.0.2</h1>
<ul>
<li>Remove dependency on once_cell (<a
href="https://redirect.github.com/algesten/ureq/issues/959 ">#959</a>)</li>
<li>Fix bug parsing partial redirects (<a
href="https://redirect.github.com/algesten/ureq/issues/958 ">#958</a>)</li>
<li>Expose typestate variables (<a
href="https://redirect.github.com/algesten/ureq/issues/956 ">#956</a>)</li>
</ul>
<h1>3.0.1</h1>
<ul>
<li>Fix excessive stack sizes (<a
href="https://redirect.github.com/algesten/ureq/issues/950 ">#950</a>)</li>
<li>Do not enable <strong>json</strong> by default (breaking, but it was
a mistake) (<a
href="https://redirect.github.com/algesten/ureq/issues/948 ">#948</a>)</li>
</ul>
<h1>3.0.0</h1>
<ul>
<li>Replace RequestBuilder Deref with explicit wrappers (<a
href="https://redirect.github.com/algesten/ureq/issues/944 ">#944</a>)</li>
<li>Remove dependency on <code>url</code> crate (<a
href="https://redirect.github.com/algesten/ureq/issues/943 ">#943</a>)</li>
<li>Feature <code>Config::save_redirect_history</code> (<a
href="https://redirect.github.com/algesten/ureq/issues/939 ">#939</a>)</li>
</ul>
<h1>3.0.0-rc5</h1>
<ul>
<li><code>TlsConfig::unversioned_rustls_crypto_provider()</code> (<a
href="https://redirect.github.com/algesten/ureq/issues/931 ">#931</a>)</li>
<li>Feature <code>rustls-no-provider</code> to compile without ring (<a
href="https://redirect.github.com/algesten/ureq/issues/931 ">#931</a>)</li>
<li>Fix CONNECT proxy Host header (<a
href="https://redirect.github.com/algesten/ureq/issues/936 ">#936</a>)</li>
<li>Re-enable CONNECT proxy support (<a
href="https://redirect.github.com/algesten/ureq/issues/932 ">#932</a>)</li>
<li>Body::content_length (<a
href="https://redirect.github.com/algesten/ureq/issues/927 ">#927</a>)</li>
<li>Handle Authorization: Basic from URI (<a
href="https://redirect.github.com/algesten/ureq/issues/923 ">#923</a>)</li>
<li>Remove many uses of Box::new() from Connector chain (<a
href="https://redirect.github.com/algesten/ureq/issues/919 ">#919</a>)</li>
</ul>
<h1>3.0.0-rc4</h1>
<ul>
<li>Default to <code>TooManyRedirects</code> error (<a
href="https://redirect.github.com/algesten/ureq/issues/916 ">#916</a>)</li>
<li>Add <code>ConfigBuilder::max_redirects_will_error()</code> (<a
href="https://redirect.github.com/algesten/ureq/issues/916 ">#916</a>)</li>
<li>Add new <code>SendBody::into_reader()</code> (<a
href="https://redirect.github.com/algesten/ureq/issues/914 ">#914</a>)</li>
<li>Fix completely broken PEM parsing (<a
href="https://redirect.github.com/algesten/ureq/issues/912 ">#912</a>)</li>
<li>Improve ergonomics for <code>AutoHeaderValue</code> (<a
href="https://redirect.github.com/algesten/ureq/issues/896 ">#896</a>)</li>
</ul>
<h1>3.0.0-rc3</h1>
<ul>
<li>Re-export ureq_proto::ArrayVec (<a
href="https://redirect.github.com/algesten/ureq/issues/891 ">#891</a>)</li>
<li>Expose typestate variables, but #[doc(hidden)] (<a
href="https://redirect.github.com/algesten/ureq/issues/889 ">#889</a>)</li>
<li>Clarify versioning and MSRV policy (<a
href="https://redirect.github.com/algesten/ureq/issues/887 ">#887</a>)</li>
<li>Get last used uri via <code>ResponseExt::get_uri()</code> (<a
href="https://redirect.github.com/algesten/ureq/issues/884 ">#884</a>)</li>
<li>Expose more things for 3rd party Transport impls (<a
href="https://redirect.github.com/algesten/ureq/issues/886 ">#886</a>)</li>
<li>Make accessor fn for <code>Config</code> and <code>TlsConfig</code>
(<a
href="https://redirect.github.com/algesten/ureq/issues/886 ">#886</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5cb17e8e1f "><code>5cb17e8</code></a>
Update doc</li>
<li><a
href="81127cfc38 "><code>81127cf</code></a>
3.0.3</li>
<li><a
href="89d593c31c "><code>89d593c</code></a>
proxy: use the same data for CONNECT and Host header</li>
<li><a
href="e2e27ea654 "><code>e2e27ea</code></a>
Set default proxy scheme in proxy uri</li>
<li><a
href="7533c1ad45 "><code>7533c1a</code></a>
Update changelog</li>
<li><a
href="0d274df41b "><code>0d274df</code></a>
Use more constants for headers</li>
<li><a
href="0a4f6d7d75 "><code>0a4f6d7</code></a>
Redact Location header</li>
<li><a
href="50347206a1 "><code>5034720</code></a>
Downgrade info! level to debug!</li>
<li><a
href="4173dd49d7 "><code>4173dd4</code></a>
ureq-proto 0.3.0</li>
<li><a
href="3d5f182fa3 "><code>3d5f182</code></a>
3.0.2</li>
<li>Additional commits viewable in <a
href="https://github.com/algesten/ureq/compare/2.5.0...3.0.3 ">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zach <zach@dylibso.com >
2025-02-04 11:30:53 -08:00
dependabot[bot]
07047eaab0
chore(deps): Update rand requirement from 0.8.5 to 0.9.0 ( #826 )
...
Updates the requirements on [rand](https://github.com/rust-random/rand )
to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-random/rand/blob/master/CHANGELOG.md ">rand's
changelog</a>.</em></p>
<blockquote>
<h2>[0.9.0] - 2025-01-27</h2>
<h3>Security and unsafe</h3>
<ul>
<li>Policy: "rand is not a crypto library" (<a
href="https://redirect.github.com/rust-random/rand/issues/1514 ">#1514</a>)</li>
<li>Remove fork-protection from <code>ReseedingRng</code> and
<code>ThreadRng</code>. Instead, it is recommended to call
<code>ThreadRng::reseed</code> on fork. (<a
href="https://redirect.github.com/rust-random/rand/issues/1379 ">#1379</a>)</li>
<li>Use <code>zerocopy</code> to replace some <code>unsafe</code> code
(<a
href="https://redirect.github.com/rust-random/rand/issues/1349 ">#1349</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1393 ">#1393</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1446 ">#1446</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1502 ">#1502</a>)</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>Bump the MSRV to 1.63.0 (<a
href="https://redirect.github.com/rust-random/rand/issues/1207 ">#1207</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1246 ">#1246</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1269 ">#1269</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1341 ">#1341</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1416 ">#1416</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1536 ">#1536</a>);
note that 1.60.0 may work for dependents when using
<code>--ignore-rust-version</code></li>
<li>Update to <code>rand_core</code> v0.9.0 (<a
href="https://redirect.github.com/rust-random/rand/issues/1558 ">#1558</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>Support <code>std</code> feature without <code>getrandom</code> or
<code>rand_chacha</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1354 ">#1354</a>)</li>
<li>Enable feature <code>small_rng</code> by default (<a
href="https://redirect.github.com/rust-random/rand/issues/1455 ">#1455</a>)</li>
<li>Remove implicit feature <code>rand_chacha</code>; use
<code>std_rng</code> instead. (<a
href="https://redirect.github.com/rust-random/rand/issues/1473 ">#1473</a>)</li>
<li>Rename feature <code>serde1</code> to <code>serde</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1477 ">#1477</a>)</li>
<li>Rename feature <code>getrandom</code> to <code>os_rng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1537 ">#1537</a>)</li>
<li>Add feature <code>thread_rng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1547 ">#1547</a>)</li>
</ul>
<h3>API changes: rand_core traits</h3>
<ul>
<li>Add fn <code>RngCore::read_adapter</code> implementing
<code>std::io::Read</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1267 ">#1267</a>)</li>
<li>Add trait <code>CryptoBlockRng: BlockRngCore</code>; make
<code>trait CryptoRng: RngCore</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1273 ">#1273</a>)</li>
<li>Add traits <code>TryRngCore</code>, <code>TryCryptoRng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1424 ">#1424</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1499 ">#1499</a>)</li>
<li>Rename <code>fn SeedableRng::from_rng</code> ->
<code>try_from_rng</code> and add infallible variant <code>fn
from_rng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1424 ">#1424</a>)</li>
<li>Rename <code>fn SeedableRng::from_entropy</code> ->
<code>from_os_rng</code> and add fallible variant <code>fn
try_from_os_rng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1424 ">#1424</a>)</li>
<li>Add bounds <code>Clone</code> and <code>AsRef</code> to associated
type <code>SeedableRng::Seed</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1491 ">#1491</a>)</li>
</ul>
<h3>API changes: Rng trait and top-level fns</h3>
<ul>
<li>Rename fn <code>rand::thread_rng()</code> to
<code>rand::rng()</code> and remove from the prelude (<a
href="https://redirect.github.com/rust-random/rand/issues/1506 ">#1506</a>)</li>
<li>Remove fn <code>rand::random()</code> from the prelude (<a
href="https://redirect.github.com/rust-random/rand/issues/1506 ">#1506</a>)</li>
<li>Add top-level fns <code>random_iter</code>,
<code>random_range</code>, <code>random_bool</code>,
<code>random_ratio</code>, <code>fill</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1488 ">#1488</a>)</li>
<li>Re-introduce fn <code>Rng::gen_iter</code> as
<code>random_iter</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1305 ">#1305</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1500 ">#1500</a>)</li>
<li>Rename fn <code>Rng::gen</code> to <code>random</code> to avoid
conflict with the new <code>gen</code> keyword in Rust 2024 (<a
href="https://redirect.github.com/rust-random/rand/issues/1438 ">#1438</a>)</li>
<li>Rename fns <code>Rng::gen_range</code> to <code>random_range</code>,
<code>gen_bool</code> to <code>random_bool</code>,
<code>gen_ratio</code> to <code>random_ratio</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1505 ">#1505</a>)</li>
<li>Annotate panicking methods with <code>#[track_caller]</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1442 ">#1442</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1447 ">#1447</a>)</li>
</ul>
<h3>API changes: RNGs</h3>
<ul>
<li>Fix <code><SmallRng as SeedableRng>::Seed</code> size to 256
bits (<a
href="https://redirect.github.com/rust-random/rand/issues/1455 ">#1455</a>)</li>
<li>Remove first parameter (<code>rng</code>) of
<code>ReseedingRng::new</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1533 ">#1533</a>)</li>
</ul>
<h3>API changes: Sequences</h3>
<ul>
<li>Split trait <code>SliceRandom</code> into
<code>IndexedRandom</code>, <code>IndexedMutRandom</code>,
<code>SliceRandom</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1382 ">#1382</a>)</li>
<li>Add <code>IndexedRandom::choose_multiple_array</code>,
<code>index::sample_array</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1453 ">#1453</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1469 ">#1469</a>)</li>
</ul>
<h3>API changes: Distributions: renames</h3>
<ul>
<li>Rename module <code>rand::distributions</code> to
<code>rand::distr</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1470 ">#1470</a>)</li>
<li>Rename distribution <code>Standard</code> to
<code>StandardUniform</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1526 ">#1526</a>)</li>
<li>Move <code>distr::Slice</code> ->
<code>distr::slice::Choose</code>, <code>distr::EmptySlice</code> ->
<code>distr::slice::Empty</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1548 ">#1548</a>)</li>
<li>Rename trait <code>distr::DistString</code> ->
<code>distr::SampleString</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1548 ">#1548</a>)</li>
<li>Rename <code>distr::DistIter</code> -> <code>distr::Iter</code>,
<code>distr::DistMap</code> -> <code>distr::Map</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1548 ">#1548</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="96f8df65ee "><code>96f8df6</code></a>
Prepare 0.9.0 release (<a
href="https://redirect.github.com/rust-random/rand/issues/1558 ">#1558</a>)</li>
<li><a
href="34da3214df "><code>34da321</code></a>
Enable <code>stdarch_x86_avx512</code> for cpu has <code>avx512bw</code>
(<a
href="https://redirect.github.com/rust-random/rand/issues/1551 ">#1551</a>)</li>
<li><a
href="b4b1eb7579 "><code>b4b1eb7</code></a>
Re-org with distr::slice, distr::weighted modules (<a
href="https://redirect.github.com/rust-random/rand/issues/1548 ">#1548</a>)</li>
<li><a
href="16eb7de94a "><code>16eb7de</code></a>
Add the <code>thread_rng</code> feature flag (<a
href="https://redirect.github.com/rust-random/rand/issues/1547 ">#1547</a>)</li>
<li><a
href="afa24e49b4 "><code>afa24e4</code></a>
Fix test status badges (<a
href="https://redirect.github.com/rust-random/rand/issues/1544 ">#1544</a>)</li>
<li><a
href="c681dfc345 "><code>c681dfc</code></a>
Create FUNDING.yml</li>
<li><a
href="9f05e22afb "><code>9f05e22</code></a>
Update: getrandom v0.3.0 rc.0 (<a
href="https://redirect.github.com/rust-random/rand/issues/1541 ">#1541</a>)</li>
<li><a
href="88c310b189 "><code>88c310b</code></a>
Fix docs.rs build options (<a
href="https://redirect.github.com/rust-random/rand/issues/1539 ">#1539</a>)</li>
<li><a
href="b879689a60 "><code>b879689</code></a>
Adjust GH Actions (<a
href="https://redirect.github.com/rust-random/rand/issues/1538 ">#1538</a>)</li>
<li><a
href="3fac49fe89 "><code>3fac49f</code></a>
Prepare 0.9.0-beta.0 (<a
href="https://redirect.github.com/rust-random/rand/issues/1535 ">#1535</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-random/rand/compare/0.8.5...0.9.0 ">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zach <zach@dylibso.com >
2025-02-04 10:21:53 -08:00
zach
1e281e93cd
cleanup: remove android release ( #823 )
...
Also switches to actions-rust-lang/setup-rust-toolchain@v1 since
actions-rs/toolchain is deprecated
2025-01-28 15:53:13 -08:00
zach
f57d987d48
ci: fix android release, attempt #2 ( #818 )
2025-01-21 12:08:18 -08:00
zach
9da6d43f05
ci: install android libunwind before build step ( #817 )
...
Fixes #816
2025-01-21 11:41:10 -08:00
zach
d1a248e19e
cleanup: stop timer from using 100% cpu when no timeouts are set ( #814 )
...
Fixes an issue reported on discord
(https://discord.com/channels/1011124058408112148/1154513155209298041/1329622656235864156 )
where the timer thread is taking up an entire CPU
2025-01-20 14:01:37 -08:00
Benjamin Eckel
a367bc77a3
Add Android targets ( #812 )
...
Closes #811
Keep in mind that these targets seem to be tier 3 support and not quite
stable, but i think it's fine to open for experimenting:
https://docs.wasmtime.dev/stability-tiers.html
2025-01-14 10:23:59 -08:00
Gavin Hayes
00074fd56d
feat: add releasing x86_64-unknown-linux-musl dynamic library ( #753 )
...
Fixes https://github.com/extism/extism/issues/735
2024-08-19 14:46:08 -04:00
Muhammad Azeez
49e28892bc
ci: release extism.dll.lib and extism.dll.a ( #633 )
...
Related to #141 and #584
Follow up of #632
2023-12-13 22:29:29 +03:00
Chris Dickinson
f7d297f98f
build: drive crate versions from workspace; drive workspace version from ci ( #604 )
...
This is an attempt to sand down [a sharp
edge](https://github.com/extism/extism/actions/runs/6949120346/job/18906546065#step:4:476 )
around releases – keeping the `Cargo.toml` versions in-sync with the
release tag, & the versions of the workspace crates aligned with one
another.
2023-11-27 16:14:56 -08:00
Gavin Hayes
9992d34510
feat: add x86_64-unknown-linux-musl target, specifying target to make ( #571 )
...
The `x86_64-unknown-linux-musl` target does not build dynamic libraries
for now:
```
warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl`
```
A target may now be optionally specified to the root `Makefile`,
example:
`make RUST_TARGET=x86_64-unknown-linux-musl && sudo make
RUST_TARGET=x86_64-unknown-linux-musl install`
The new musl targets may be used to create entirely static binaries with
libextism. See the new `musl-static` target in `libextism/Makefile`
2023-11-06 17:06:44 -05:00
Gavin Hayes
1aff1ce69c
feat: pkg-config ( #559 )
...
Adds `pkg-config` configs for dynamic and static builds of libextism.
Example usage is shown in `libextism/Makefile`.
Added the `.in` versions of the `.pc` files to non-MSVC releases.
2023-11-02 19:38:50 -04:00
Gavin Hayes
fab44c5db8
feat: build static libextism ( #552 )
...
* libextism is now built to crate-type `staticlib` as recommend by
@zshipko
* updated `Makefile` to install and uninstall the static library.
* updated c example to have `static` target to link libextism statically
* Compiler is no longer hardcoded to `clang`. Set `CC` to use a compiler
other than the system compiler. Tested with `gcc` and `clang`.
* added `static-artifact` to actions release. Untested as it's only ran
on push with tag.
---------
Co-authored-by: zach <zach@dylibso.com >
2023-10-27 19:10:57 -04:00
Chris Dickinson
c2910bdc60
fix(release): bump maturin manylinux floor for ring 0.17 dep ( #548 )
...
An update to `ring` broke the maturin-extism builds. Tracked this down
to [1]; the maintainers of `ring` don't intend to support linux sysroots
that old. This PR updates the ARM Linux builds in particular to pull in
a newer manylinux target. Tested on a [private
fork](https://github.com/extism/dev-extism/actions/runs/6644247344 ) of
the extism repo.
[1]: https://github.com/briansmith/ring/issues/1728
2023-10-25 13:34:34 -07:00
Chris Dickinson
be646480b9
fix(build): remove windows gnu wheel builds ( #481 )
...
Maturin on Windows struggles with GNU headers. Since we have windows
MSVC wheel builds, this commit disables windows GNU wheel builds.
Also: fix a bug where the produced wheels did not include any extism
functions.
2023-09-22 12:34:47 -07:00
Chris Dickinson
8426e1a0a6
feat(build): add extism-maturin wheel builds ( #480 )
...
Build the python native library along with libextism since they change
at roughly the same rate; we can pull the resulting wheels into
python-sdk as needed.
Reduce the release job into a single matrix of `OS x RUST TARGET` – this
unifies the macos, windows, and linux builds into a single job.
---
**BREAKING CHANGE**: This changes the trigger for the release workflow.
Instead of being triggered by the creation of a release, it is triggered
by pushing new git tags. It will catch `v*` – `v0.5.0`, `v200.0.1-dev`
for example. The workflow creates a draft release.
2023-09-21 13:18:49 -07:00
Chris Dickinson
ab458ebd44
feat(build): Add "latest" snapshot builds ( #457 )
...
Add a "latest" snapshot that other libraries can use to test against the
latest version of Extism.
Add caching for builds triggered by pushes to `main`.
2023-09-15 10:03:04 -07:00
Benjamin Eckel
3e6a0071e9
fix: Fix the release action ( #101 )
2022-11-29 10:33:26 -06:00
Benjamin Eckel
b45c04c13e
ci: Workflow per SDK ( #69 )
2022-11-04 16:24:48 -05:00
Benjamin Eckel
33dbcafdb9
fix: Fix release workflow to use make ( #68 )
2022-11-04 15:46:25 -05:00
Benjamin Eckel
71110117e4
feat: Add workflow_dispatch to the release workflow ( #33 )
2022-11-04 15:18:58 -05:00
Benjamin Eckel
7815d9aee6
Fix elixir publish pipeline
2022-10-20 17:04:26 -05:00
Benjamin Eckel
ec07d35ed2
dont check metadata
2022-10-20 12:59:29 -05:00
Benjamin Eckel
97a7c6607e
Publish elixir and ruby sdks
2022-10-20 11:37:23 -05:00
Steve Manuel
c298208e04
ci: finish pypi release step
2022-09-14 11:37:01 -06:00
Steve Manuel
6883a5b6ba
ci: add delay in release workflow to wait for crates.io
2022-09-14 09:21:06 -06:00
Steve Manuel
e39901be68
ci: add no-verify to runtime release, bump rust sdk version
2022-09-13 11:17:59 -06:00
Steve Manuel
8191d85bc1
ci: remove cross integration, make node sdk public
2022-09-12 15:49:43 -06:00
Steve Manuel
01dc54b6e6
ci: use node_auth_token env var for setup and publish
2022-09-12 15:23:46 -06:00
Steve Manuel
85cadeaf0e
ci: update windows dll lib name
2022-09-12 13:55:25 -06:00
Steve Manuel
66937dc2cf
ci: fix npm auth env var
2022-09-12 13:52:39 -06:00
Steve Manuel
e7b3688c11
ci: add host sdk releases ( #12 )
...
Adds automated releases for crates.io, pypi, and npm for Rust, Python,
and Node host SDKs respectively.
2022-09-12 13:32:06 -06:00
Steve Manuel
63ff9da8dc
chore: remove runtime target, work on php release
2022-09-01 22:13:46 -06:00
Steve Manuel
10235514dc
chore: update ci since moving to cargo workspace
2022-09-01 21:01:00 -06:00
Steve Manuel
0cd60fa29b
ci: try common windows builds
2022-09-01 20:15:54 -06:00
Steve Manuel
e27fae9193
v0.0.1 alpha
...
Co-authored-by: Zach Shipko <zach@dylib.so >
2022-08-25 14:36:47 -06:00