Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,38 @@ jobs:

# - name: Test
# run: go test -v -tags "b_tiny,b_sqlite,b_http,b_sql,b_postgres,b_openai,b_bson,b_crypto,b_smtpd,b_mail,b_postmark,b_bcrypt,b_telegram" ./...

build-linux-386-static:
name: Build (linux/386 static)
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 'stable'

- name: Build static linux/386 binary
env:
CGO_ENABLED: 0
GOOS: linux
GOARCH: 386
run: |
go build -v -trimpath -ldflags="-s -w" -o bin/rye_linux_386 .
ls -l bin/rye_linux_386
file bin/rye_linux_386
go version -m bin/rye_linux_386

- name: Run Rye Tests
run: cd tests ; ../bin/rye_linux_386 main.rye test base
timeout-minutes: 1

- name: Upload linux/386 binary artifact
uses: actions/upload-artifact@v4
with:
name: rye_linux_386
path: bin/rye_linux_386
7 changes: 7 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,19 @@ builds:
- arm
- arm64
- wasm
- "386"

ignore: # List of combinations of GOOS + GOARCH + GOARM to ignore.
- goos: windows
goarch: arm
- goos: linux
goarch: arm
- goos: windows
goarch: "386"
- goos: darwin
goarch: "386"
- goos: js
goarch: "386"

flags:
# - -tags=b_tiny
Expand Down
Binary file removed _sandbox/temp-database
Binary file not shown.
18 changes: 0 additions & 18 deletions _sandbox/terminal.c

This file was deleted.

Loading
Loading