Skip to content

Commit 6045c08

Browse files
committed
First commit
0 parents  commit 6045c08

27 files changed

Lines changed: 5779 additions & 0 deletions

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: build
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: actions/cache@v4
9+
with:
10+
path: |
11+
~/.cargo/registry
12+
~/.cargo/git
13+
tmp
14+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
15+
- uses: ruby/setup-ruby@v1
16+
with:
17+
ruby-version: 3.3
18+
bundler-cache: true
19+
- run: bundle exec rake compile
20+
- run: bundle exec rake test

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: release
2+
on: workflow_dispatch
3+
jobs:
4+
release:
5+
strategy:
6+
fail-fast: false
7+
matrix:
8+
include:
9+
- platform: x86_64-linux
10+
target: x86_64-unknown-linux-gnu
11+
- platform: x86_64-linux-musl
12+
target: x86_64-unknown-linux-musl
13+
- platform: aarch64-linux
14+
target: aarch64-unknown-linux-gnu
15+
- platform: aarch64-linux-musl
16+
target: aarch64-unknown-linux-musl
17+
- platform: x86_64-darwin
18+
target: x86_64-apple-darwin
19+
- platform: arm64-darwin
20+
target: aarch64-apple-darwin
21+
- platform: x64-mingw-ucrt
22+
target: x86_64-pc-windows-gnu
23+
runs-on: ubuntu-latest
24+
name: ${{ matrix.platform }}
25+
steps:
26+
- uses: actions/checkout@v4
27+
- run: |
28+
cargo install --locked --git https://github.com/ankane/cargo-3pl
29+
git clone https://github.com/ankane/3pl-source.git
30+
cargo 3pl --target ${{ matrix.target }} --require-files --source 3pl-source > LICENSE-THIRD-PARTY.txt
31+
- uses: ruby/setup-ruby@v1
32+
with:
33+
ruby-version: 3.2
34+
- uses: oxidize-rb/actions/cross-gem@v1
35+
id: cross-gem
36+
with:
37+
platform: ${{ matrix.platform }}
38+
ruby-versions: "3.3,3.2,3.1"
39+
- uses: actions/upload-artifact@v3
40+
with:
41+
name: cross-gem
42+
path: ${{ steps.cross-gem.outputs.gem-path }}

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/.bundle/
2+
/.yardoc
3+
/_yardoc/
4+
/coverage/
5+
/doc/
6+
/pkg/
7+
/spec/reports/
8+
/tmp/
9+
/Gemfile.lock
10+
/target/
11+
/Makefile
12+
*.bundle
13+
*.so
14+
*.dll

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 0.1.0 (2024-11-20)
2+
3+
- First release

0 commit comments

Comments
 (0)