Skip to content

Commit

Permalink
Trying to build Rebol/Triangulate extension for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jul 17, 2024
1 parent f5ad80d commit 380eee5
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion .github/workflows/rebol-triangulate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:

openbsd:
runs-on: ubuntu-latest
if: true
if: false
steps:
- uses: actions/checkout@v4
- name: Crosscompilation for OpenBSD
Expand All @@ -167,6 +167,7 @@ jobs:
ls -la .
./rebol3 siskin.r3 rebol/triangulate -o $OUT/triangulate-openbsd-x64.rebx triangulate-x64
file $OUT/triangulate-openbsd-x64.rebx
./rebol3 ./tree/rebol/Rebol-Triangulate/ci-test.r3
- name: Compress 64bit Rebol/Triangulate extension
run: gzip -9 $OUT/triangulate-openbsd-x64.rebx
Expand All @@ -175,6 +176,40 @@ jobs:
with:
name: Rebol-Triangulate-${{github.run_id}}
path: ${{env.OUT}}/triangulate-openbsd-*.gz

freebsd:
runs-on: ubuntu-latest
if: true
steps:
- uses: actions/checkout@v4
- name: Crosscompilation for FreeBSD
uses: vmactions/freebsd-vm@v1
with:
envs: 'OUT REBOL_MODULES_DIR'
usesh: true
prepare: |
pkg install -y curl git
run: |
env
freebsd-version
mkdir $OUT
curl https://github.com/Oldes/Rebol3/releases/download/3.17.0/rebol3-bulk-freebsd-x64.gz --output ./rebol3.gz --silent -L
gunzip ./rebol3.gz
chmod +x ./rebol3
./rebol3 -V
ls -la .
./rebol3 siskin.r3 rebol/triangulate -o $OUT/triangulate-freebsd-x64.rebx triangulate-x64
file $OUT/triangulate-freebsd-x64.rebx
./rebol3 ./tree/rebol/Rebol-Triangulate/ci-test.r3
- name: Compress 64bit Rebol/Triangulate extension
run: gzip -9 $OUT/triangulate-freebsd-x64.rebx

- uses: actions/upload-artifact@v3
with:
name: Rebol-Triangulate-${{github.run_id}}
path: ${{env.OUT}}/triangulate-freebsd-*.gz
# Haiku-x86:
# runs-on: ubuntu-latest
# steps:
Expand Down

0 comments on commit 380eee5

Please sign in to comment.