Skip to content

Commit 406984a

Browse files
committed
Initial commits
1 parent 30421d5 commit 406984a

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Build release binary to be used for other actions
2+
3+
on: [ workflow_dispatch ]
4+
5+
jobs:
6+
trigger-tester:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
repository: https://github.com/practical-scheme/get-gauche.sh
11+
- name: "Install tools"
12+
run: sudo apt-get install -y libgdbm-dev libmbedtls-dev
13+
- name: "Build"
14+
run: |
15+
./build-binary-tarball.sh

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This repository is not meant to be directly used. It has a github
2+
action to create Gauche binary tarball that can be fetched
3+
from other github actions. See https://github.com/shirok/setup-gauche.

build-binary-tarball.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
set -e
3+
4+
echo "Obtain get-gauche"
5+
6+
curl -f -o get-gauche.sh https://raw.githubusercontent.com/shirok/get-gauche/master/get-gauche.sh
7+
chmod +x get-gauche.sh
8+
9+
echo "Build"
10+
./get-gauche.sh --prefix /usr --destdir package --version latest --force
11+
12+
echo "Package"
13+
(cd package; tar czvf ../gauche-binary-ubuntu-latest.tar.gz .)

0 commit comments

Comments
 (0)