Skip to content

Commit

Permalink
Trying to build Rebol/Triangulate extension for Haiku
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jul 17, 2024
1 parent d3bd797 commit d646ee3
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/rebol-triangulate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ on:
workflow_dispatch:

env:
OUT: ${{github.WORKSPACE}}/Release/
REBOL_MODULES_DIR: ${{github.WORKSPACE}}/Release/
OUT: ${{github.WORKSPACE}}/Release
REBOL_MODULES_DIR: ${{github.WORKSPACE}}/Release

jobs:
windows:
runs-on: windows-latest
if: true
if: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:

linux:
runs-on: ubuntu-20.04
if: true
if: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:

macos:
runs-on: macos-latest
if: true
if: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down 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 Down Expand Up @@ -179,7 +179,7 @@ jobs:

freebsd:
runs-on: ubuntu-latest
if: true
if: false
steps:
- uses: actions/checkout@v4
- name: Crosscompilation for FreeBSD
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:

dragonflybsd:
runs-on: ubuntu-latest
if: true
if: false
steps:
- uses: actions/checkout@v4
- name: Crosscompilation for DragonFlyBSD
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:

Haiku-x86:
runs-on: ubuntu-latest
if: true
if: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -267,13 +267,13 @@ jobs:

- name: Compress result before uploading
run: |
sudo mv ./tree/rebol/Rebol-Triangulate/build/triangulate-x86.so $OUT/triangulate-haiku-x86.rebx
sudo gzip -9 $OUT/triangulate-haiku-x86.rebx
mv ./tree/rebol/Rebol-Triangulate/build/triangulate-x86.so $OUT/triangulate-haiku-x86.rebx
gzip -9 $OUT/triangulate-haiku-x86.rebx
- uses: actions/upload-artifact@v3
with:
name: Rebol-Triangulate-${{github.run_id}}
path: ./triangulate-*.gz
path: ${{env.OUT}}/triangulate-*.gz

Haiku-x64:
runs-on: ubuntu-latest
Expand All @@ -296,10 +296,11 @@ jobs:

- name: Compress result before uploading
run: |
sudo mv ./tree/rebol/Rebol-Triangulate/build/triangulate-x64.so $OUT/triangulate-haiku-x64.rebx
sudo gzip -9 $OUT/triangulate-haiku-x64.rebx
file ./tree/rebol/Rebol-Triangulate/build/triangulate-x64.so
mv ./tree/rebol/Rebol-Triangulate/build/triangulate-x64.so $OUT/triangulate-haiku-x64.rebx
gzip -9 $OUT/triangulate-haiku-x64.rebx
- uses: actions/upload-artifact@v3
with:
name: Rebol-Triangulate-${{github.run_id}}
path: ./triangulate-*.gz
path: ${{env.OUT}}/triangulate-*.gz

0 comments on commit d646ee3

Please sign in to comment.